Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001642/0.001642, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002008/0.002008, allocations: 212.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.52 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3559, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003138/0.3591, allocations: 1.768 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3603, allocations: 0.6169 MB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.3604, allocations: 3.938 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.3606, allocations: 31.73 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.361, allocations: 123.4 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.3614, allocations: 161.8 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.3617, allocations: 251.3 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3618, allocations: 25.73 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3619, allocations: 115.7 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007983/0.3699, allocations: 1.042 MB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.37, allocations: 16 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3701, allocations: 39.98 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.3701, allocations: 39.91 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3702, allocations: 83.56 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.3706, allocations: 227.1 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3706, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3706, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3706, allocations: 3.938 kB / 1.368 GB, free: 9.328 MB / 1.061 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.0008003/0.3714, allocations: 496.6 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3714, allocations: 12.03 kB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.3715, allocations: 24.8 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3719, allocations: 190.1 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3719, allocations: 20.36 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.3719, allocations: 20.12 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3721, allocations: 115.5 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3722, allocations: 0 / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.3722, allocations: 4 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3722, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3723, allocations: 55.97 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.3731, allocations: 400.1 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.3734, allocations: 98.73 kB / 1.37 GB, free: 7.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.3735, allocations: 36.78 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3735, allocations: 3.938 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3737, allocations: 103.4 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3737, allocations: 0 / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003648/0.374, allocations: 183.8 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3741, allocations: 59.41 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.3743, allocations: 195.8 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3743, allocations: 41.64 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.3744, allocations: 124.5 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.3745, allocations: 43.67 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.3746, allocations: 61.67 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3747, allocations: 326.8 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3749, allocations: 123.3 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.3752, allocations: 242.5 kB / 1.371 GB, free: 6.168 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.3755, allocations: 215.5 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3755, allocations: 0 / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006611/0.3762, allocations: 392.1 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.3763, allocations: 67.39 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3763, allocations: 0 / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3763, allocations: 11.92 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.3764, allocations: 20.09 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3764, allocations: 4 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3766, allocations: 27.88 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.3766, allocations: 15.98 kB / 1.372 GB, free: 5.355 MB / 1.061 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.0001369/0.3767, allocations: 142.2 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3768, allocations: 23.84 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.377, allocations: 147.3 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.377, allocations: 11.97 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.377, allocations: 0 / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.377, allocations: 0 / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.3776, allocations: 418 kB / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3776, allocations: 3.938 kB / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.3777, allocations: 7.938 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3777, allocations: 3.938 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.3777, allocations: 11.98 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3777, allocations: 0 / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3777, allocations: 0 / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3779, allocations: 233.1 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.378, allocations: 35.72 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.378, allocations: 8 kB / 1.373 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3781, allocations: 11.98 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.3782, allocations: 15.97 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3782, allocations: 8 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001763/0.3784, allocations: 152.1 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3784, allocations: 0 / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003039/0.3787, allocations: 43.94 kB / 1.373 GB, free: 4.035 MB / 1.061 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.0003904/0.3791, allocations: 172.9 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.3795, allocations: 301.4 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3795, allocations: 4.062 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.3796, allocations: 55.91 kB / 1.374 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3801, allocations: 54.3 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.3807, allocations: 327.2 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3808, allocations: 123.8 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.482e-05/0.3809, allocations: 33.86 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.381, allocations: 27.36 kB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.381, allocations: 0 / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of Templates: time 0.008343/0.3893, allocations: 3.936 MB / 1.378 GB, free: 15.04 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.182126270607114]