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.00085/0.00085, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009167/0.0009167, allocations: 181 kB / 24.08 MB, free: 424 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 1.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.753e-06/1.753e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.427e-05, allocations: 3.969 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002962/0.002986, allocations: 1.809 MB / 0.8137 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009134/0.003899, allocations: 0.629 MB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.003981, allocations: 4.844 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.004166, allocations: 23.73 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.00447, allocations: 128 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.004714, allocations: 160.1 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.00492, allocations: 248.5 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.005018, allocations: 29.78 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008304/0.01332, allocations: 3.213 MB / 0.8181 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.01347, allocations: 95.73 kB / 0.8181 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.0135, allocations: 12 kB / 0.8182 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.01358, allocations: 35.97 kB / 0.8182 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.01363, allocations: 39.84 kB / 0.8182 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.01378, allocations: 64.33 kB / 0.8183 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.01403, allocations: 180 kB / 0.8185 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01404, allocations: 7.938 kB / 0.8185 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.92e-07/0.01404, allocations: 1.469 kB / 0.8185 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.01404, allocations: 3.938 kB / 0.8185 GB, free: 12.04 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.0005766/0.01462, allocations: 0.5816 MB / 0.819 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.01466, allocations: 9.031 kB / 0.8191 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.01472, allocations: 32.84 kB / 0.8191 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.01491, allocations: 192.4 kB / 0.8193 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.01492, allocations: 13.12 kB / 0.8193 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.01494, allocations: 16.38 kB / 0.8193 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.01504, allocations: 74.86 kB / 0.8194 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01505, allocations: 5.219 kB / 0.8194 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.01506, allocations: 8 kB / 0.8194 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.01507, allocations: 0 / 0.8194 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.01511, allocations: 31.91 kB / 0.8194 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.01557, allocations: 406.9 kB / 0.8198 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.01572, allocations: 83.16 kB / 0.8199 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.01575, allocations: 19.67 kB / 0.8199 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.01577, allocations: 16.95 kB / 0.8199 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.129e-05/0.01586, allocations: 83.3 kB / 0.82 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01586, allocations: 4 kB / 0.82 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0001939/0.01605, allocations: 139 kB / 0.8201 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.01609, allocations: 59.41 kB / 0.8202 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01622, allocations: 250.6 kB / 0.8204 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01624, allocations: 37.64 kB / 0.8205 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.01631, allocations: 178.7 kB / 0.8206 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.01634, allocations: 39.62 kB / 0.8207 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.0164, allocations: 67.3 kB / 0.8207 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01652, allocations: 0.5117 MB / 0.8212 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.01661, allocations: 100.1 kB / 0.8213 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01674, allocations: 243.7 kB / 0.8216 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.01687, allocations: 185.9 kB / 0.8217 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01687, allocations: 0.5 kB / 0.8217 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002938/0.01716, allocations: 342 kB / 0.8221 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.0172, allocations: 63.39 kB / 0.8221 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.0172, allocations: 4 kB / 0.8221 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01721, allocations: 1.094 kB / 0.8221 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.01727, allocations: 27.92 kB / 0.8222 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01728, allocations: 4 kB / 0.8222 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.01735, allocations: 24.5 kB / 0.8222 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01737, allocations: 16.58 kB / 0.8222 GB, free: 7.875 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.00011/0.01748, allocations: 183.7 kB / 0.8224 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.0175, allocations: 23.86 kB / 0.8224 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.01762, allocations: 122.5 kB / 0.8225 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01762, allocations: 3.969 kB / 0.8225 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01763, allocations: 0 / 0.8225 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01763, allocations: 3.984 kB / 0.8225 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.01793, allocations: 417.7 kB / 0.8229 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01793, allocations: 0 / 0.8229 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.01795, allocations: 7.984 kB / 0.8229 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01795, allocations: 0 / 0.8229 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.01796, allocations: 8 kB / 0.8229 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01796, allocations: 0 / 0.8229 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01796, allocations: 7.875 kB / 0.8229 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.01814, allocations: 264.7 kB / 0.8232 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.01817, allocations: 27.78 kB / 0.8232 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.01819, allocations: 12.98 kB / 0.8232 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.01823, allocations: 4 kB / 0.8232 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.01828, allocations: 24.97 kB / 0.8233 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.01829, allocations: 4 kB / 0.8233 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.01836, allocations: 173.4 kB / 0.8234 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01836, allocations: 1.125 kB / 0.8234 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001802/0.01854, allocations: 43.92 kB / 0.8235 GB, free: 6.52 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.0002701/0.01881, allocations: 179.2 kB / 0.8236 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.01904, allocations: 282.2 kB / 0.8239 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01904, allocations: 0 / 0.8239 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.01911, allocations: 47.03 kB / 0.824 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.01941, allocations: 59.27 kB / 0.824 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.01979, allocations: 309.6 kB / 0.8243 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.01983, allocations: 79.97 kB / 0.8244 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01988, allocations: 21.95 kB / 0.8244 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.02002, allocations: 138.7 kB / 0.8245 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.02002, allocations: 0 / 0.8245 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of Templates: time 0.005478/0.0255, allocations: 3.904 MB / 0.8283 GB, free: 1.523 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.326264441944659]