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.001308/0.001308, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001478/0.001478, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9145/0.9145, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.594 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.483e-06/1.483e-06, allocations: 0 / 0.8115 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.418e-05, allocations: 6.859 kB / 0.8115 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002282/0.002306, allocations: 1.831 MB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000853/0.003159, allocations: 0.6306 MB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.003228, allocations: 0 / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.003412, allocations: 35.66 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.003735, allocations: 123.3 kB / 0.8141 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.004001, allocations: 161.1 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004224, allocations: 251.3 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.00434, allocations: 29.78 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.004498, allocations: 141.3 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004627/0.009125, allocations: 1.62 MB / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.009193, allocations: 21.38 kB / 0.8162 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.009316, allocations: 39.92 kB / 0.8162 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.009386, allocations: 43.83 kB / 0.8163 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.009483, allocations: 65.56 kB / 0.8164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.009882, allocations: 195.3 kB / 0.8165 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.009886, allocations: 0 / 0.8165 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.934e-06/0.009888, allocations: 0 / 0.8165 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.009896, allocations: 0 / 0.8165 GB, free: 13.3 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.0008053/0.0107, allocations: 0.5899 MB / 0.8171 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.01076, allocations: 12.56 kB / 0.8171 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.01085, allocations: 29.41 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.01117, allocations: 209.1 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.0112, allocations: 14.12 kB / 0.8174 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.01124, allocations: 20.36 kB / 0.8174 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.01139, allocations: 78.22 kB / 0.8175 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01141, allocations: 3.938 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.01143, allocations: 10.58 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01144, allocations: 4 kB / 0.8175 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.004e-05/0.01151, allocations: 39.91 kB / 0.8175 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.01211, allocations: 440 kB / 0.8179 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.01234, allocations: 95.69 kB / 0.818 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.01238, allocations: 24.81 kB / 0.8181 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.0124, allocations: 4 kB / 0.8181 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.01251, allocations: 92.97 kB / 0.8181 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.01251, allocations: 0.8125 kB / 0.8181 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000252/0.01276, allocations: 156.5 kB / 0.8183 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.01279, allocations: 59.92 kB / 0.8184 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01294, allocations: 255.5 kB / 0.8186 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.01296, allocations: 33.7 kB / 0.8186 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.01304, allocations: 177.3 kB / 0.8188 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.01307, allocations: 43.58 kB / 0.8188 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.01319, allocations: 71.31 kB / 0.8189 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.0133, allocations: 0.5001 MB / 0.8194 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.01342, allocations: 99.36 kB / 0.8195 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.01358, allocations: 246.9 kB / 0.8197 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.01374, allocations: 199.2 kB / 0.8199 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01374, allocations: 0 / 0.8199 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003559/0.0141, allocations: 357.8 kB / 0.8203 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.01414, allocations: 67.39 kB / 0.8203 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01415, allocations: 0 / 0.8203 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.01416, allocations: 4 kB / 0.8203 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.01424, allocations: 29.02 kB / 0.8204 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01424, allocations: 0 / 0.8204 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.01434, allocations: 29 kB / 0.8204 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01435, allocations: 12 kB / 0.8204 GB, free: 9.004 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.0001581/0.01451, allocations: 182.4 kB / 0.8206 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.01454, allocations: 28.64 kB / 0.8206 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.0147, allocations: 123.5 kB / 0.8207 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.0147, allocations: 5.906 kB / 0.8207 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0147, allocations: 0 / 0.8207 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01471, allocations: 3.938 kB / 0.8207 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.01507, allocations: 453.1 kB / 0.8212 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01507, allocations: 1.344 kB / 0.8212 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.0151, allocations: 7.984 kB / 0.8212 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.0151, allocations: 0 / 0.8212 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01511, allocations: 12.66 kB / 0.8212 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01511, allocations: 0 / 0.8212 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01511, allocations: 4.594 kB / 0.8212 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.01527, allocations: 278.5 kB / 0.8214 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.01531, allocations: 31.47 kB / 0.8215 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.01533, allocations: 11.92 kB / 0.8215 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.01538, allocations: 4 kB / 0.8215 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.01543, allocations: 23.91 kB / 0.8215 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.01545, allocations: 7.984 kB / 0.8215 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.01553, allocations: 177.4 kB / 0.8217 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01553, allocations: 0 / 0.8217 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002156/0.01575, allocations: 47.94 kB / 0.8217 GB, free: 7.57 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.0003299/0.01608, allocations: 180.5 kB / 0.8219 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.01635, allocations: 289.7 kB / 0.8222 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.01635, allocations: 0 / 0.8222 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.0164, allocations: 47.61 kB / 0.8222 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01668, allocations: 68.44 kB / 0.8223 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.01715, allocations: 303 kB / 0.8226 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.01719, allocations: 75.97 kB / 0.8227 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.486e-05/0.01725, allocations: 30.52 kB / 0.8227 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.01729, allocations: 29.8 kB / 0.8227 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01729, allocations: 4 kB / 0.8227 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.005677/0.02297, allocations: 3.856 MB / 0.8265 GB, free: 2.719 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.378986262716353]