Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.077/3.077, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8107 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.178e-05, allocations: 3.156 kB / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003717/0.003749, allocations: 1.66 MB / 0.8124 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.005133, allocations: 0.5723 MB / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.005233, allocations: 0 / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.005457, allocations: 30.11 kB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.005916, allocations: 119.4 kB / 0.8131 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.006327, allocations: 147.6 kB / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.006685, allocations: 213.1 kB / 0.8134 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.006799, allocations: 25.72 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.007025, allocations: 131.8 kB / 0.8136 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.018/0.02502, allocations: 2.522 MB / 0.816 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.02511, allocations: 17.72 kB / 0.816 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.02525, allocations: 35.92 kB / 0.8161 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.02533, allocations: 35.84 kB / 0.8161 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.02547, allocations: 63.8 kB / 0.8162 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.02594, allocations: 219.3 kB / 0.8164 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02595, allocations: 2.625 kB / 0.8164 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.02595, allocations: 0 / 0.8164 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.02596, allocations: 0 / 0.8164 GB, free: 12.26 MB / 0.7292 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.0009531/0.02691, allocations: 0.5574 MB / 0.8169 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.02695, allocations: 8.031 kB / 0.8169 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.02705, allocations: 21.34 kB / 0.817 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.02739, allocations: 188.8 kB / 0.8171 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.02741, allocations: 10.31 kB / 0.8172 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.02745, allocations: 12.38 kB / 0.8172 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.02764, allocations: 81.59 kB / 0.8172 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.02765, allocations: 0 / 0.8172 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.02766, allocations: 4 kB / 0.8172 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.02767, allocations: 1.812 kB / 0.8172 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.02778, allocations: 43.92 kB / 0.8173 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.02867, allocations: 420.2 kB / 0.8177 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.02884, allocations: 75.52 kB / 0.8178 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.02891, allocations: 32.58 kB / 0.8178 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.02893, allocations: 0 / 0.8178 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.0291, allocations: 97.73 kB / 0.8179 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.0291, allocations: 0 / 0.8179 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0003589/0.02946, allocations: 135 kB / 0.818 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.02951, allocations: 59.39 kB / 0.8181 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.02981, allocations: 271.7 kB / 0.8183 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.02984, allocations: 30.55 kB / 0.8184 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.02999, allocations: 174.8 kB / 0.8185 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.03003, allocations: 31.84 kB / 0.8186 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.03014, allocations: 60.52 kB / 0.8186 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002954/0.03043, allocations: 0.5079 MB / 0.8191 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.0305, allocations: 24 kB / 0.8191 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.03085, allocations: 245.2 kB / 0.8194 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.03101, allocations: 109.5 kB / 0.8195 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.03101, allocations: 1.125 kB / 0.8195 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002719/0.03128, allocations: 138.6 kB / 0.8196 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.0313, allocations: 10.81 kB / 0.8196 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.03131, allocations: 0 / 0.8196 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.03132, allocations: 1.031 kB / 0.8196 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.03143, allocations: 23.92 kB / 0.8196 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.03143, allocations: 0 / 0.8196 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.03161, allocations: 32.88 kB / 0.8197 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.03163, allocations: 4 kB / 0.8197 GB, free: 8.613 MB / 0.7292 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.0001635/0.03179, allocations: 180.8 kB / 0.8198 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.03183, allocations: 21.28 kB / 0.8199 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.03188, allocations: 21.45 kB / 0.8199 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.03188, allocations: 4 kB / 0.8199 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.03189, allocations: 0 / 0.8199 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.03189, allocations: 4.75 kB / 0.8199 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.03252, allocations: 438.9 kB / 0.8203 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.03252, allocations: 0 / 0.8203 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.03255, allocations: 3.984 kB / 0.8203 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.03255, allocations: 4.906 kB / 0.8203 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.03257, allocations: 7.938 kB / 0.8203 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.03257, allocations: 0 / 0.8203 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.03257, allocations: 0.6562 kB / 0.8203 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.03286, allocations: 263.8 kB / 0.8206 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.03289, allocations: 16.5 kB / 0.8206 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.03292, allocations: 10.94 kB / 0.8206 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.03302, allocations: 7.984 kB / 0.8206 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.03308, allocations: 15.97 kB / 0.8206 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.03311, allocations: 8 kB / 0.8206 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001691/0.03328, allocations: 180 kB / 0.8208 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.03328, allocations: 0 / 0.8208 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002999/0.03358, allocations: 43.94 kB / 0.8209 GB, free: 7.336 MB / 0.7292 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.0005344/0.03411, allocations: 169.2 kB / 0.821 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.03433, allocations: 86.12 kB / 0.8211 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03434, allocations: 0 / 0.8211 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.03443, allocations: 51.61 kB / 0.8211 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.03483, allocations: 47.81 kB / 0.8212 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.0355, allocations: 293.5 kB / 0.8215 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.03561, allocations: 100.3 kB / 0.8216 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.025e-05/0.03569, allocations: 25.47 kB / 0.8216 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.03575, allocations: 20.5 kB / 0.8216 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.03575, allocations: 0 / 0.8216 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of Templates: time 0.008733/0.04448, allocations: 3.557 MB / 0.8251 GB, free: 3.027 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.117199637927115]