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.0007638/0.0007638, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001789, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006695/0.0006695, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000911/0.001581, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9854/0.9854, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.087, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.846/1.846, allocations: 378.3 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4863/2.333, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.473e-06/1.473e-06, allocations: 0 / 0.7296 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.226e-05, allocations: 5.109 kB / 0.7296 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002854/0.002876, allocations: 1.881 MB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.007039, allocations: 0.647 MB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.00713, allocations: 0 / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.00726, allocations: 31.17 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.007577, allocations: 120.8 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.007945, allocations: 161.9 kB / 0.7324 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.008251, allocations: 248.5 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.008366, allocations: 26.97 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/0.02647, allocations: 3.224 MB / 0.7358 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.02667, allocations: 95.73 kB / 0.7359 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.02671, allocations: 16 kB / 0.7359 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.02681, allocations: 40.67 kB / 0.7359 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.02686, allocations: 27.88 kB / 0.736 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.133e-05/0.02692, allocations: 44.62 kB / 0.736 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.02721, allocations: 155.4 kB / 0.7362 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.02723, allocations: 0.8438 kB / 0.7362 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.02723, allocations: 0 / 0.7362 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.02724, allocations: 2.188 kB / 0.7362 GB, free: 15.06 MB / 0.7136 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.0005785/0.02782, allocations: 0.4911 MB / 0.7366 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.02785, allocations: 12.03 kB / 0.7367 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.0279, allocations: 22.38 kB / 0.7367 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.0281, allocations: 197.5 kB / 0.7369 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.02811, allocations: 4.375 kB / 0.7369 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.02813, allocations: 16.38 kB / 0.7369 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.02823, allocations: 79.45 kB / 0.737 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.02824, allocations: 7.922 kB / 0.737 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.02825, allocations: 11.92 kB / 0.737 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.02826, allocations: 5.25 kB / 0.737 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.0283, allocations: 27.7 kB / 0.737 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.02873, allocations: 286.6 kB / 0.7373 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.02888, allocations: 70.53 kB / 0.7373 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.0289, allocations: 24.84 kB / 0.7374 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.02892, allocations: 0 / 0.7374 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.859e-05/0.02902, allocations: 83.34 kB / 0.7375 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.02902, allocations: 0 / 0.7375 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001596/0.02918, allocations: 104.3 kB / 0.7376 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.02921, allocations: 59.41 kB / 0.7376 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.02932, allocations: 195.4 kB / 0.7378 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.02934, allocations: 29.7 kB / 0.7378 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.0294, allocations: 116.5 kB / 0.7379 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.02942, allocations: 39.67 kB / 0.738 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.02948, allocations: 61.64 kB / 0.738 GB, free: 13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.02956, allocations: 331.3 kB / 0.7383 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.02968, allocations: 108 kB / 0.7384 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.02978, allocations: 211.1 kB / 0.7387 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.02989, allocations: 181.9 kB / 0.7388 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02989, allocations: 0 / 0.7388 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001935/0.03009, allocations: 279.3 kB / 0.7391 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.03013, allocations: 67.39 kB / 0.7392 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03014, allocations: 4 kB / 0.7392 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.03015, allocations: 0 / 0.7392 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.03022, allocations: 35.92 kB / 0.7392 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.03023, allocations: 7.984 kB / 0.7392 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.03031, allocations: 23.88 kB / 0.7392 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.03032, allocations: 8 kB / 0.7392 GB, free: 11.62 MB / 0.7136 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 8.203e-05/0.0304, allocations: 144.3 kB / 0.7394 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.03042, allocations: 11.98 kB / 0.7394 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.03053, allocations: 99.39 kB / 0.7395 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.03053, allocations: 0 / 0.7395 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.03053, allocations: 0.7031 kB / 0.7395 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.03053, allocations: 3.984 kB / 0.7395 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.03079, allocations: 311.7 kB / 0.7398 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.03079, allocations: 0 / 0.7398 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.03082, allocations: 11.98 kB / 0.7398 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.03084, allocations: 11.91 kB / 0.7398 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.03084, allocations: 4 kB / 0.7398 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.03085, allocations: 6.938 kB / 0.7398 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.03085, allocations: 7.922 kB / 0.7398 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03085, allocations: 0 / 0.7398 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.03096, allocations: 179.4 kB / 0.74 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.03097, allocations: 8 kB / 0.74 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.03102, allocations: 7.984 kB / 0.74 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.03106, allocations: 19.91 kB / 0.74 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.03107, allocations: 4 kB / 0.74 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.381e-05/0.03116, allocations: 60.64 kB / 0.7401 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.03116, allocations: 0 / 0.7401 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001766/0.03133, allocations: 40 kB / 0.7401 GB, free: 10.66 MB / 0.7136 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.0003625/0.0317, allocations: 182.7 kB / 0.7403 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.03191, allocations: 272 kB / 0.7406 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.03191, allocations: 8 kB / 0.7406 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.305e-05/0.03197, allocations: 48.78 kB / 0.7406 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.03229, allocations: 393.6 kB / 0.741 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.03286, allocations: 316.8 kB / 0.7413 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.03291, allocations: 80.52 kB / 0.7414 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.738e-05/0.03296, allocations: 23.16 kB / 0.7414 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.03311, allocations: 117.2 kB / 0.7415 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.03311, allocations: 0 / 0.7415 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of Templates: time 0.006115/0.03922, allocations: 3.869 MB / 0.7453 GB, free: 5.453 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.889383258298039]