Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.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.0009342/0.0009342, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009591/0.0009591, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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 0.9574/0.9574, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.869/1.869, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.864e-05/4.174e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004644/0.004686, allocations: 1.825 MB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.006201, allocations: 0.625 MB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.006354, allocations: 6.344 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.006652, allocations: 31.67 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.007188, allocations: 123.4 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.007651, allocations: 155.6 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.008033, allocations: 251.3 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.008196, allocations: 23.39 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.008441, allocations: 147.7 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007011/0.01545, allocations: 1.645 MB / 0.8162 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.478e-05/0.01554, allocations: 17 kB / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.01567, allocations: 43.91 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.01576, allocations: 43.84 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.01587, allocations: 64.73 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.01631, allocations: 187.4 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01632, allocations: 0 / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/0.01632, allocations: 1.344 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.01633, allocations: 0 / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009229/0.01725, allocations: 0.6027 MB / 0.8171 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.0173, allocations: 8.031 kB / 0.8171 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.01741, allocations: 24.84 kB / 0.8171 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.01778, allocations: 206.7 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.01781, allocations: 12.38 kB / 0.8174 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.01784, allocations: 22 kB / 0.8174 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.01805, allocations: 86.2 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01806, allocations: 3.938 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01808, allocations: 4 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.01809, allocations: 4 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.01819, allocations: 32.88 kB / 0.8175 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.01907, allocations: 448.9 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.01939, allocations: 88.38 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.01946, allocations: 27.72 kB / 0.818 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.01948, allocations: 8.844 kB / 0.8181 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.01965, allocations: 100.9 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/0.01965, allocations: 0.8438 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003653/0.02002, allocations: 152.7 kB / 0.8183 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.02006, allocations: 56.62 kB / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.0203, allocations: 262.7 kB / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.02033, allocations: 33.7 kB / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.02045, allocations: 167.3 kB / 0.8188 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.02049, allocations: 44.47 kB / 0.8188 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.0206, allocations: 67.33 kB / 0.8189 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.02075, allocations: 0.5012 MB / 0.8194 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.02096, allocations: 103.3 kB / 0.8195 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.0212, allocations: 247 kB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.02146, allocations: 198.9 kB / 0.8199 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02146, allocations: 4 kB / 0.8199 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000562/0.02203, allocations: 350.9 kB / 0.8202 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.02209, allocations: 67.38 kB / 0.8203 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.0221, allocations: 0 / 0.8203 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.02212, allocations: 4 kB / 0.8203 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.02223, allocations: 27.92 kB / 0.8203 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.02225, allocations: 4 kB / 0.8203 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.02241, allocations: 24.39 kB / 0.8204 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.02244, allocations: 17.11 kB / 0.8204 GB, free: 9.293 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001339/0.02257, allocations: 174.5 kB / 0.8206 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.02262, allocations: 32.91 kB / 0.8206 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.02286, allocations: 131.4 kB / 0.8207 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02287, allocations: 0 / 0.8207 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02287, allocations: 0.5 kB / 0.8207 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02288, allocations: 3.938 kB / 0.8207 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.02344, allocations: 458.4 kB / 0.8212 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02345, allocations: 0 / 0.8212 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.02349, allocations: 8.875 kB / 0.8212 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.0235, allocations: 3.984 kB / 0.8212 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.02351, allocations: 5.281 kB / 0.8212 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.02351, allocations: 0 / 0.8212 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.02351, allocations: 4 kB / 0.8212 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.02377, allocations: 274.6 kB / 0.8214 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.02382, allocations: 28.69 kB / 0.8215 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.02385, allocations: 11.88 kB / 0.8215 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.02395, allocations: 12.61 kB / 0.8215 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.02402, allocations: 15.97 kB / 0.8215 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.02405, allocations: 8.656 kB / 0.8215 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001403/0.02419, allocations: 176.2 kB / 0.8217 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.81e-07/0.02419, allocations: 7.938 kB / 0.8217 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003664/0.02456, allocations: 51.92 kB / 0.8217 GB, free: 7.855 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005432/0.0251, allocations: 162.7 kB / 0.8219 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.02549, allocations: 290.7 kB / 0.8222 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0255, allocations: 0 / 0.8222 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.02559, allocations: 55.59 kB / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.02604, allocations: 73.14 kB / 0.8223 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.02675, allocations: 308.5 kB / 0.8226 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.02681, allocations: 79.97 kB / 0.8227 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.02691, allocations: 32.77 kB / 0.8227 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.02697, allocations: 28.48 kB / 0.8227 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.02697, allocations: 0 / 0.8227 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of Templates: time 0.007922/0.03489, allocations: 3.834 MB / 0.8265 GB, free: 3.02 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.141746768960729]