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.001597/0.001597, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002172/0.002172, allocations: 222.3 kB / 23 MB, free: 4.91 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.225/3.225, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002051/0.002051, allocations: 79.25 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3604, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003463/0.3639, allocations: 1.767 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3653, allocations: 0.6207 MB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3653, allocations: 0 / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.3655, allocations: 39.67 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.3659, allocations: 123.4 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3663, allocations: 165.8 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.3667, allocations: 235.4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3668, allocations: 33.72 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.367, allocations: 115.7 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008421/0.3754, allocations: 1.032 MB / 1.369 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.3755, allocations: 16 kB / 1.369 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3756, allocations: 43.97 kB / 1.369 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.3757, allocations: 43.84 kB / 1.369 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3758, allocations: 75.62 kB / 1.369 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.3762, allocations: 227.1 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3762, allocations: 0 / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3762, allocations: 3.938 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3762, allocations: 0 / 1.369 GB, free: 9.363 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.0008431/0.3771, allocations: 0.4928 MB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3771, allocations: 8.031 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.3772, allocations: 32.73 kB / 1.37 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.3775, allocations: 190.1 kB / 1.37 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.3776, allocations: 12.38 kB / 1.37 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.3776, allocations: 16.12 kB / 1.37 GB, free: 8.551 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.3778, allocations: 115.5 kB / 1.37 GB, free: 8.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3778, allocations: 0 / 1.37 GB, free: 8.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.3778, allocations: 8 kB / 1.37 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3779, allocations: 4 kB / 1.37 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.378, allocations: 59.95 kB / 1.37 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.3789, allocations: 388.1 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.3792, allocations: 102.7 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.3792, allocations: 35.34 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3793, allocations: 8 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.3795, allocations: 107.3 kB / 1.371 GB, free: 7.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3795, allocations: 0 / 1.371 GB, free: 7.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003633/0.3798, allocations: 173.4 kB / 1.371 GB, free: 7.508 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3799, allocations: 59.41 kB / 1.371 GB, free: 7.438 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3801, allocations: 199.8 kB / 1.371 GB, free: 7.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3802, allocations: 33.7 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3803, allocations: 132.4 kB / 1.371 GB, free: 7.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3803, allocations: 35.69 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3804, allocations: 65.67 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3806, allocations: 338.8 kB / 1.372 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.3808, allocations: 119.3 kB / 1.372 GB, free: 6.484 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.3811, allocations: 242.5 kB / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.3814, allocations: 205.3 kB / 1.372 GB, free: 5.961 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3815, allocations: 3.938 kB / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000693/0.3821, allocations: 400.1 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.3822, allocations: 63.39 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3822, allocations: 4 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3822, allocations: 7.875 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.3823, allocations: 19.94 kB / 1.373 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3823, allocations: 3.984 kB / 1.373 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3825, allocations: 23.89 kB / 1.373 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.3826, allocations: 15.98 kB / 1.373 GB, free: 5.387 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.0001706/0.3827, allocations: 154.3 kB / 1.373 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3828, allocations: 19.91 kB / 1.373 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.383, allocations: 153.5 kB / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3831, allocations: 3.938 kB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3831, allocations: 0 / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3831, allocations: 7.984 kB / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.3837, allocations: 406 kB / 1.373 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3837, allocations: 3.938 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.3837, allocations: 7.984 kB / 1.373 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3837, allocations: 4 kB / 1.373 GB, free: 4.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3838, allocations: 8 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3838, allocations: 7.938 kB / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3838, allocations: 0 / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.384, allocations: 233.5 kB / 1.374 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.3841, allocations: 35.72 kB / 1.374 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3841, allocations: 3.984 kB / 1.374 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3843, allocations: 8 kB / 1.374 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3843, allocations: 19.97 kB / 1.374 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3843, allocations: 7.984 kB / 1.374 GB, free: 4.258 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001542/0.3845, allocations: 148.2 kB / 1.374 GB, free: 4.113 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3845, allocations: 4 kB / 1.374 GB, free: 4.109 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003265/0.3848, allocations: 47.94 kB / 1.374 GB, free: 4.062 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.0004203/0.3852, allocations: 166.2 kB / 1.374 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.3857, allocations: 306 kB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3857, allocations: 3.938 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.3858, allocations: 43.92 kB / 1.374 GB, free: 3.531 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3863, allocations: 63.78 kB / 1.374 GB, free: 3.477 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.387, allocations: 359.6 kB / 1.375 GB, free: 3.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3871, allocations: 119.8 kB / 1.375 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.3872, allocations: 19.44 kB / 1.375 GB, free: 2.941 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.3872, allocations: 3.938 kB / 1.375 GB, free: 2.938 MB / 1.061 GB Notification: Performance of Templates: time 0.006282/0.3935, allocations: 3.34 MB / 1.378 GB, free: 15.61 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/jenkins1/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: 12.282579947728664]