Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00167/0.00167, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00206/0.00206, allocations: 215.5 kB / 23.01 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.7 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_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_11_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.002024/0.002024, allocations: 71.56 kB / 1.119 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 169.9 MB / 1.285 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003336/0.3508, allocations: 1.812 MB / 1.286 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.352, allocations: 0.6354 MB / 1.287 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.3521, allocations: 3.938 kB / 1.287 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.3523, allocations: 23.73 kB / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.3527, allocations: 127.4 kB / 1.287 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.3531, allocations: 163.3 kB / 1.287 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3534, allocations: 239.4 kB / 1.288 GB, free: 372 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3536, allocations: 33.78 kB / 1.288 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3537, allocations: 111.7 kB / 1.288 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008084/0.3618, allocations: 1.055 MB / 1.289 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.3619, allocations: 20 kB / 1.289 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.362, allocations: 43.97 kB / 1.289 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.3621, allocations: 43.84 kB / 1.289 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3622, allocations: 99.44 kB / 1.289 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.3626, allocations: 219.1 kB / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3626, allocations: 0 / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3626, allocations: 0 / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3626, allocations: 0 / 1.289 GB, free: 15 MB / 0.9981 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.0008204/0.3634, allocations: 0.4888 MB / 1.29 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3634, allocations: 16.03 kB / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.3635, allocations: 28.73 kB / 1.29 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.3639, allocations: 190.3 kB / 1.29 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3639, allocations: 12.38 kB / 1.29 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.3639, allocations: 16.12 kB / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.3641, allocations: 107.9 kB / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3641, allocations: 0 / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3641, allocations: 4 kB / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3641, allocations: 4 kB / 1.29 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3643, allocations: 59.95 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.3652, allocations: 455.4 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.3654, allocations: 106.7 kB / 1.291 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.3655, allocations: 40.84 kB / 1.291 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3655, allocations: 0 / 1.291 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3657, allocations: 101.5 kB / 1.291 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3657, allocations: 0 / 1.291 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003516/0.3661, allocations: 177.4 kB / 1.291 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3661, allocations: 55.41 kB / 1.291 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.3663, allocations: 211.8 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.3663, allocations: 33.7 kB / 1.291 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3665, allocations: 132.4 kB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.3665, allocations: 39.69 kB / 1.291 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3666, allocations: 61.67 kB / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3668, allocations: 330.8 kB / 1.292 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.367, allocations: 63.95 kB / 1.292 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.3672, allocations: 131.7 kB / 1.292 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.3675, allocations: 213.3 kB / 1.292 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3675, allocations: 3.938 kB / 1.292 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006096/0.3681, allocations: 324.8 kB / 1.292 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.3682, allocations: 67.39 kB / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3682, allocations: 3.938 kB / 1.292 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3682, allocations: 7.938 kB / 1.292 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.3683, allocations: 23.92 kB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3683, allocations: 4.156 kB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.3685, allocations: 27.88 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.3685, allocations: 12 kB / 1.292 GB, free: 11.23 MB / 0.9981 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.000141/0.3686, allocations: 143.8 kB / 1.293 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3687, allocations: 19.86 kB / 1.293 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3689, allocations: 149.2 kB / 1.293 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3689, allocations: 4 kB / 1.293 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3689, allocations: 3.938 kB / 1.293 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3689, allocations: 7.984 kB / 1.293 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.3695, allocations: 461.3 kB / 1.293 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3695, allocations: 0 / 1.293 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.3696, allocations: 11.94 kB / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3696, allocations: 0 / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3696, allocations: 3.984 kB / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3696, allocations: 0 / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3696, allocations: 0 / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3699, allocations: 249.8 kB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.3699, allocations: 23.89 kB / 1.294 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.37, allocations: 4 kB / 1.294 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3701, allocations: 11.98 kB / 1.294 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3701, allocations: 11.97 kB / 1.294 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.3701, allocations: 12 kB / 1.294 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001416/0.3703, allocations: 145.5 kB / 1.294 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3703, allocations: 0 / 1.294 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003181/0.3706, allocations: 55.92 kB / 1.294 GB, free: 9.859 MB / 0.9981 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.0003806/0.371, allocations: 167.5 kB / 1.294 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.3714, allocations: 242.6 kB / 1.294 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3714, allocations: 3.938 kB / 1.294 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.3715, allocations: 51.97 kB / 1.294 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3719, allocations: 59.91 kB / 1.294 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.3726, allocations: 356.8 kB / 1.295 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.373, allocations: 0.7242 MB / 1.295 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.3731, allocations: 27.42 kB / 1.295 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3731, allocations: 0 / 1.295 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of Templates: time 0.006003/0.3791, allocations: 3.301 MB / 1.299 GB, free: 4.902 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.37408623000374]