Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 64.05 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9548, allocations: 168.7 MB / 1.272 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003066/0.9579, allocations: 1.65 MB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.9589, allocations: 0.5804 MB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.959, allocations: 8.844 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.9592, allocations: 18.58 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.9595, allocations: 120.1 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.9598, allocations: 150.3 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.9601, allocations: 215.5 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.9602, allocations: 12.69 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.9604, allocations: 103 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.9724, allocations: 1.57 MB / 1.276 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.9725, allocations: 19.53 kB / 1.276 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.9726, allocations: 44.89 kB / 1.276 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.9727, allocations: 30.5 kB / 1.276 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.9728, allocations: 83.22 kB / 1.276 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.9731, allocations: 198.7 kB / 1.277 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9731, allocations: 0 / 1.277 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9731, allocations: 0 / 1.277 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9731, allocations: 0.9375 kB / 1.277 GB, free: 5.484 MB / 0.9981 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.000653/0.9738, allocations: 0.5239 MB / 1.277 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.9738, allocations: 13.41 kB / 1.277 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.9739, allocations: 19.19 kB / 1.277 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.9741, allocations: 236.9 kB / 1.277 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.9741, allocations: 13.72 kB / 1.277 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.9741, allocations: 9.281 kB / 1.277 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.9743, allocations: 88.73 kB / 1.277 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9743, allocations: 4.906 kB / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.9744, allocations: 5.484 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.9744, allocations: 1.812 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.9745, allocations: 42.3 kB / 1.278 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.9751, allocations: 447 kB / 1.278 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.9753, allocations: 58.34 kB / 1.278 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.9753, allocations: 32.14 kB / 1.278 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.9753, allocations: 1.844 kB / 1.278 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.9755, allocations: 86.28 kB / 1.278 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.9755, allocations: 3.938 kB / 1.278 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.00028/0.9758, allocations: 128.8 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.9758, allocations: 58.88 kB / 1.278 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.976, allocations: 186.9 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.976, allocations: 41.42 kB / 1.279 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.9761, allocations: 112.5 kB / 1.279 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.9761, allocations: 39.25 kB / 1.279 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.9762, allocations: 51.78 kB / 1.279 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.9762, allocations: 324.2 kB / 1.279 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.9763, allocations: 26.03 kB / 1.279 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.9765, allocations: 124.2 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.9766, allocations: 86.98 kB / 1.279 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9766, allocations: 0.75 kB / 1.279 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002098/0.9768, allocations: 133.2 kB / 1.279 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9768, allocations: 13.75 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9768, allocations: 4.969 kB / 1.279 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9768, allocations: 2.062 kB / 1.279 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.9769, allocations: 17.27 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.9769, allocations: 2 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.9771, allocations: 20.58 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.9771, allocations: 8.562 kB / 1.279 GB, free: 3.156 MB / 0.9981 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 8.704e-05/0.9772, allocations: 136.5 kB / 1.28 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.9772, allocations: 15.41 kB / 1.28 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.9772, allocations: 20.25 kB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9772, allocations: 2.594 kB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.9772, allocations: 0.8438 kB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9773, allocations: 2.391 kB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.9777, allocations: 432.3 kB / 1.28 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9777, allocations: 4 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.9777, allocations: 3.094 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9777, allocations: 1.156 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.9777, allocations: 1.672 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9777, allocations: 2.25 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9777, allocations: 0.5938 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.9779, allocations: 218.8 kB / 1.28 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.9779, allocations: 91.84 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.9779, allocations: 10.03 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.978, allocations: 5.609 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.9781, allocations: 14.52 kB / 1.28 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.9781, allocations: 8.531 kB / 1.28 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001027/0.9782, allocations: 132 kB / 1.281 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9782, allocations: 0 / 1.281 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002991/0.9785, allocations: 39.75 kB / 1.281 GB, free: 2.25 MB / 0.9981 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.0003468/0.9788, allocations: 167.9 kB / 1.281 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.979, allocations: 86.19 kB / 1.281 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9791, allocations: 0.75 kB / 1.281 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.9791, allocations: 29.03 kB / 1.281 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.9795, allocations: 53.75 kB / 1.281 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.98, allocations: 270.3 kB / 1.281 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.9802, allocations: 0.7199 MB / 1.282 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.742e-05/0.9803, allocations: 18.34 kB / 1.282 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.9803, allocations: 24.56 kB / 1.282 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9803, allocations: 1.594 kB / 1.282 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.007732/0.988, allocations: 3.335 MB / 1.285 GB, free: 0.8516 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.97298095934093]