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.007731/0.007731, allocations: 102 kB / 15.73 MB, free: 6.051 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.0013/0.0013, allocations: 195 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.09 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3787, allocations: 157.4 MB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00473/0.3835, allocations: 1.624 MB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3854, allocations: 0.5699 MB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.3855, allocations: 3.938 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.3858, allocations: 31.72 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005795/0.3864, allocations: 107.5 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.387, allocations: 154.3 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.3875, allocations: 215.5 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3877, allocations: 29.55 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.3879, allocations: 99.72 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01945/0.4074, allocations: 1.569 MB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.4075, allocations: 16 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.4077, allocations: 47.97 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.4078, allocations: 35.91 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.408, allocations: 83.56 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.4086, allocations: 187.4 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.4086, allocations: 0 / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4086, allocations: 3.938 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4086, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 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.001178/0.4098, allocations: 0.5216 MB / 1.213 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4099, allocations: 12.62 kB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.41, allocations: 16.75 kB / 1.213 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.4105, allocations: 239.9 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4105, allocations: 7.938 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.4106, allocations: 15.98 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.4109, allocations: 77.67 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4109, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4109, allocations: 3.984 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.411, allocations: 4 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.4111, allocations: 39.98 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.4124, allocations: 444.4 kB / 1.214 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.4126, allocations: 74.55 kB / 1.214 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4127, allocations: 32.84 kB / 1.214 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.4128, allocations: 192 / 1.214 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.4131, allocations: 95.16 kB / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/0.4131, allocations: 0 / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0004781/0.4136, allocations: 137.8 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4137, allocations: 51.41 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.414, allocations: 187 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.4141, allocations: 37.7 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4142, allocations: 120 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.4143, allocations: 27.73 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.4145, allocations: 57.66 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4147, allocations: 326.8 kB / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.4148, allocations: 27.98 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.4152, allocations: 119.6 kB / 1.215 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.4154, allocations: 84.22 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4154, allocations: 0 / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003928/0.4158, allocations: 141.4 kB / 1.215 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.4159, allocations: 8 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.4159, allocations: 3.938 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.4159, allocations: 4 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4161, allocations: 8 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.4161, allocations: 7.938 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.4164, allocations: 19.83 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.4165, allocations: 8 kB / 1.215 GB, free: 2.16 MB / 0.9669 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.000193/0.4167, allocations: 134 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.4167, allocations: 15.81 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.4168, allocations: 21.34 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4168, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4168, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4169, allocations: 3.984 kB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008502/0.4177, allocations: 426.2 kB / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4177, allocations: 0 / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.4178, allocations: 15.92 kB / 1.216 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4178, allocations: 0 / 1.216 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4178, allocations: 8 kB / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4178, allocations: 0 / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4179, allocations: 0 / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.4182, allocations: 199.3 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.4183, allocations: 92.86 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.4184, allocations: 4 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.4186, allocations: 11.98 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.4187, allocations: 19.92 kB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.4187, allocations: 11.98 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001891/0.4189, allocations: 128.1 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4189, allocations: 4 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005535/0.4195, allocations: 35.98 kB / 1.216 GB, free: 0.9492 MB / 0.9669 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.0005099/0.42, allocations: 177.6 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.4204, allocations: 75.98 kB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4204, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4205, allocations: 39.92 kB / 1.217 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.4212, allocations: 51.14 kB / 1.217 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.4221, allocations: 270.8 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.4226, allocations: 0.7165 MB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000112/0.4228, allocations: 25.47 kB / 1.218 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.4228, allocations: 19.44 kB / 1.218 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.4229, allocations: 0 / 1.218 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of Templates: time 0.01283/0.4357, allocations: 3.378 MB / 1.221 GB, free: 12.21 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches