Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001466/0.001466, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 75.86 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9529/0.9543, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003375/0.9578, allocations: 1.646 MB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.959, allocations: 0.5617 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.9592, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.9594, allocations: 27.73 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.9599, allocations: 115.5 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.9604, allocations: 146.6 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.9607, allocations: 223.4 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.9609, allocations: 25.55 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.961, allocations: 103.7 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009358/0.9704, allocations: 1.569 MB / 1.213 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.129e-05/0.9705, allocations: 16 kB / 1.213 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.9707, allocations: 35.97 kB / 1.213 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.9708, allocations: 31.92 kB / 1.213 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.9709, allocations: 87.55 kB / 1.213 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.9714, allocations: 195.4 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9714, allocations: 0 / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9714, allocations: 0 / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.9714, allocations: 0 / 1.213 GB, free: 9.281 MB / 0.9356 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.000873/0.9723, allocations: 0.5234 MB / 1.214 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9723, allocations: 8.031 kB / 1.214 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.9724, allocations: 20.75 kB / 1.214 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.9727, allocations: 243.9 kB / 1.214 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.9728, allocations: 15.94 kB / 1.214 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.9728, allocations: 12 kB / 1.214 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.973, allocations: 81.66 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.973, allocations: 0 / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.973, allocations: 0 / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9731, allocations: 4 kB / 1.214 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.9732, allocations: 47.91 kB / 1.214 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.974, allocations: 444.4 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.9742, allocations: 62.56 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.9742, allocations: 28.84 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.9743, allocations: 4.188 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.9745, allocations: 91.31 kB / 1.215 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.9745, allocations: 0 / 1.215 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0003306/0.9748, allocations: 137.3 kB / 1.215 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.9749, allocations: 51.41 kB / 1.215 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.9751, allocations: 195.1 kB / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.9752, allocations: 33.7 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.9753, allocations: 112 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.9753, allocations: 31.58 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.9754, allocations: 57.67 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9755, allocations: 330.8 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.9756, allocations: 24 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.9758, allocations: 114.5 kB / 1.216 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.976, allocations: 88.22 kB / 1.216 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.976, allocations: 0 / 1.216 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002316/0.9762, allocations: 136.8 kB / 1.216 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.9762, allocations: 12.11 kB / 1.216 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9762, allocations: 7.938 kB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9763, allocations: 4 kB / 1.216 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.9764, allocations: 8 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.9764, allocations: 7.938 kB / 1.216 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.9766, allocations: 19.94 kB / 1.216 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.9766, allocations: 7.984 kB / 1.216 GB, free: 6.086 MB / 0.9356 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.0001493/0.9768, allocations: 137.6 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.9768, allocations: 19.8 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.9769, allocations: 21.34 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9769, allocations: 0 / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9769, allocations: 0 / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9769, allocations: 0 / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.9774, allocations: 430.3 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.9774, allocations: 0 / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.9775, allocations: 7.938 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9775, allocations: 3.938 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.9775, allocations: 8 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.9775, allocations: 7.984 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9775, allocations: 0 / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.9777, allocations: 211.7 kB / 1.217 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.9778, allocations: 88.92 kB / 1.217 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.9778, allocations: 0 / 1.217 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9779, allocations: 11.98 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.978, allocations: 11.98 kB / 1.217 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.978, allocations: 12 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001179/0.9782, allocations: 136.1 kB / 1.217 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9782, allocations: 0 / 1.217 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003188/0.9785, allocations: 36 kB / 1.217 GB, free: 4.859 MB / 0.9356 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.0003642/0.9789, allocations: 169.9 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.9791, allocations: 79.84 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9791, allocations: 4 kB / 1.217 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.9792, allocations: 40.17 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.9796, allocations: 50.33 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.9802, allocations: 300.8 kB / 1.218 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.9805, allocations: 0.7124 MB / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.9806, allocations: 23.42 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9806, allocations: 0 / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of Templates: time 0.005758/0.9864, allocations: 2.924 MB / 1.221 GB, free: 0.543 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches