Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 180.1 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003892, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7219, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001817/0.7238, allocations: 1.43 MB / 0.9571 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.7247, allocations: 0.6131 MB / 0.9577 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.7248, allocations: 6 kB / 0.9577 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.725, allocations: 27.42 kB / 0.9577 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.7252, allocations: 82.97 kB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.7255, allocations: 131.6 kB / 0.9579 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.7257, allocations: 203.7 kB / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7259, allocations: 25.14 kB / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.726, allocations: 89.83 kB / 0.9582 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04637/0.7723, allocations: 3.201 MB / 0.9614 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.7725, allocations: 8.812 kB / 0.9614 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.7727, allocations: 24.59 kB / 0.9614 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.7728, allocations: 31.83 kB / 0.9614 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.7729, allocations: 100.7 kB / 0.9615 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.7736, allocations: 132 kB / 0.9616 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7736, allocations: 1.25 kB / 0.9616 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.436e-06/0.7736, allocations: 0 / 0.9616 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.7737, allocations: 0 / 0.9616 GB, free: 4.461 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008853/0.7746, allocations: 497.2 kB / 0.9621 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7746, allocations: 8.906 kB / 0.9621 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.7747, allocations: 18.62 kB / 0.9621 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.7751, allocations: 240.8 kB / 0.9624 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.7751, allocations: 13 kB / 0.9624 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.7752, allocations: 18.31 kB / 0.9624 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.7754, allocations: 78.53 kB / 0.9625 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.7754, allocations: 5.375 kB / 0.9625 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.7754, allocations: 0 / 0.9625 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.7755, allocations: 6.609 kB / 0.9625 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.7756, allocations: 38.89 kB / 0.9625 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.7765, allocations: 456.4 kB / 0.963 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.7767, allocations: 72.52 kB / 0.963 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.7768, allocations: 34.25 kB / 0.9631 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.7768, allocations: 1.219 kB / 0.9631 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.777, allocations: 91.38 kB / 0.9632 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.777, allocations: 0 / 0.9632 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003763/0.7774, allocations: 130.8 kB / 0.9633 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7774, allocations: 57.59 kB / 0.9633 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.7777, allocations: 190.3 kB / 0.9635 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.7777, allocations: 36.86 kB / 0.9635 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.7778, allocations: 117.3 kB / 0.9637 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.7778, allocations: 23.31 kB / 0.9637 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.7779, allocations: 25.2 kB / 0.9637 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.778, allocations: 330.5 kB / 0.964 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.7781, allocations: 26.92 kB / 0.964 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.7783, allocations: 123.2 kB / 0.9642 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.7784, allocations: 84.78 kB / 0.9642 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7785, allocations: 1.531 kB / 0.9642 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002677/0.7787, allocations: 136.8 kB / 0.9644 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7788, allocations: 5.438 kB / 0.9644 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7788, allocations: 5.312 kB / 0.9644 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7788, allocations: 2.281 kB / 0.9644 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.7789, allocations: 14.95 kB / 0.9644 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7789, allocations: 5.125 kB / 0.9644 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.7791, allocations: 28.14 kB / 0.9644 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.7792, allocations: 4.125 kB / 0.9644 GB, free: 1.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.7793, allocations: 133.2 kB / 0.9646 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.7793, allocations: 19.03 kB / 0.9646 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.7794, allocations: 20.8 kB / 0.9646 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.7794, allocations: 1.406 kB / 0.9646 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7794, allocations: 1.062 kB / 0.9646 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7794, allocations: 0 / 0.9646 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.78, allocations: 448.8 kB / 0.965 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.78, allocations: 0 / 0.965 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.78, allocations: 10.88 kB / 0.965 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.78, allocations: 0.9062 kB / 0.965 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7801, allocations: 0.9688 kB / 0.965 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7801, allocations: 1.188 kB / 0.965 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7801, allocations: 0 / 0.965 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.7803, allocations: 211.7 kB / 0.9652 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.7803, allocations: 92.66 kB / 0.9653 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.7803, allocations: 5.906 kB / 0.9653 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.7804, allocations: 15.61 kB / 0.9654 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.7805, allocations: 11.05 kB / 0.9654 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.7805, allocations: 3.5 kB / 0.9654 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.7806, allocations: 145.4 kB / 0.9655 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7807, allocations: 4 kB / 0.9655 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003233/0.781, allocations: 32.25 kB / 0.9655 GB, free: 0.9414 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/0.7814, allocations: 173.7 kB / 0.9657 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.7816, allocations: 76.66 kB / 0.9658 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7816, allocations: 1.031 kB / 0.9658 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.7817, allocations: 44.05 kB / 0.9658 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.7821, allocations: 53.78 kB / 0.9659 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.7827, allocations: 337.4 kB / 0.9662 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.783, allocations: 0.7168 MB / 0.9669 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.783, allocations: 18.03 kB / 0.9669 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.783, allocations: 0 / 0.9669 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.006513/0.7896, allocations: 2.89 MB / 0.9697 GB, free: 14.25 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches