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.001534/0.001534, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001605/0.001605, allocations: 161 kB / 23.82 MB, free: 0.75 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.9316/0.9316, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.836/1.836, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.668e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002562/0.002589, allocations: 1.832 MB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.003524, allocations: 0.6265 MB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.003605, allocations: 3.938 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.003807, allocations: 35.61 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.004202, allocations: 124.6 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.004536, allocations: 159.6 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.004815, allocations: 256.9 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.00493, allocations: 25.8 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008235/0.01316, allocations: 3.181 MB / 0.8176 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.01336, allocations: 95.73 kB / 0.8177 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.0134, allocations: 16 kB / 0.8177 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.01351, allocations: 36.7 kB / 0.8177 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.01359, allocations: 43.83 kB / 0.8178 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.01366, allocations: 60.38 kB / 0.8178 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.01402, allocations: 179.3 kB / 0.818 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01402, allocations: 0.8438 kB / 0.818 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01403, allocations: 0 / 0.818 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.01403, allocations: 5.938 kB / 0.818 GB, free: 12.34 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.0006884/0.01472, allocations: 0.5927 MB / 0.8186 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01476, allocations: 8.031 kB / 0.8186 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.01484, allocations: 29.47 kB / 0.8186 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.01508, allocations: 201.3 kB / 0.8188 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.0151, allocations: 12.38 kB / 0.8188 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.01513, allocations: 16.38 kB / 0.8188 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.01528, allocations: 82.2 kB / 0.8189 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.01529, allocations: 3.938 kB / 0.8189 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.0153, allocations: 7.984 kB / 0.8189 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.01531, allocations: 0 / 0.8189 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.839e-05/0.01538, allocations: 41.72 kB / 0.819 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.01599, allocations: 435.8 kB / 0.8194 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.0162, allocations: 91.67 kB / 0.8195 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.01624, allocations: 29.5 kB / 0.8195 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01626, allocations: 8 kB / 0.8195 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.01638, allocations: 103.9 kB / 0.8196 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.855e-06/0.01638, allocations: 1.125 kB / 0.8196 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002508/0.01663, allocations: 145.5 kB / 0.8198 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01667, allocations: 59.41 kB / 0.8198 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.01682, allocations: 263.2 kB / 0.8201 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.01685, allocations: 33.7 kB / 0.8201 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.01693, allocations: 167 kB / 0.8203 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.01696, allocations: 43.69 kB / 0.8203 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.01703, allocations: 67.33 kB / 0.8204 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01715, allocations: 0.4962 MB / 0.8208 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.01729, allocations: 120 kB / 0.821 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.01743, allocations: 239.7 kB / 0.8212 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.01759, allocations: 203 kB / 0.8214 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0176, allocations: 0 / 0.8214 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003338/0.01793, allocations: 353 kB / 0.8217 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.01798, allocations: 67.39 kB / 0.8218 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01798, allocations: 0 / 0.8218 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.018, allocations: 5.062 kB / 0.8218 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.01808, allocations: 27.92 kB / 0.8218 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01808, allocations: 4 kB / 0.8218 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.01818, allocations: 28.94 kB / 0.8218 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.0182, allocations: 15.98 kB / 0.8219 GB, free: 8.047 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.0001114/0.01831, allocations: 175.6 kB / 0.822 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.01833, allocations: 23.86 kB / 0.822 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.01851, allocations: 132.2 kB / 0.8222 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01852, allocations: 0 / 0.8222 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01852, allocations: 0 / 0.8222 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.01853, allocations: 13.3 kB / 0.8222 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.01891, allocations: 453 kB / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01891, allocations: 1.875 kB / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.01894, allocations: 4 kB / 0.8226 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01895, allocations: 4 kB / 0.8226 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01896, allocations: 7.938 kB / 0.8226 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.01896, allocations: 3.984 kB / 0.8226 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01896, allocations: 1.344 kB / 0.8226 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.01915, allocations: 279.7 kB / 0.8229 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.01918, allocations: 31.78 kB / 0.8229 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.0192, allocations: 3.938 kB / 0.8229 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.01925, allocations: 12.7 kB / 0.823 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.01931, allocations: 22.44 kB / 0.823 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.01933, allocations: 12 kB / 0.823 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.889e-05/0.01942, allocations: 173.4 kB / 0.8232 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01942, allocations: 3.938 kB / 0.8232 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002099/0.01963, allocations: 36 kB / 0.8232 GB, free: 6.625 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.0003777/0.02, allocations: 183.5 kB / 0.8234 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.02028, allocations: 289.7 kB / 0.8236 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02029, allocations: 0 / 0.8236 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.02034, allocations: 47.61 kB / 0.8237 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.02066, allocations: 70.03 kB / 0.8238 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.02116, allocations: 311 kB / 0.824 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.0212, allocations: 79.97 kB / 0.8241 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.02127, allocations: 21.94 kB / 0.8241 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.02131, allocations: 28.48 kB / 0.8242 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.02131, allocations: 0 / 0.8242 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of Templates: time 0.006791/0.0281, allocations: 3.903 MB / 0.828 GB, free: 1.703 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.14595044311136]