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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 249.4 MB, free: 2.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.91 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9739/0.9758, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003012/0.9788, allocations: 1.799 MB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.98, allocations: 0.6396 MB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.9801, allocations: 1.125 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.9802, allocations: 26.31 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.9806, allocations: 127.8 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.9809, allocations: 161.4 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.9812, allocations: 234.1 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.9813, allocations: 27.44 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.9815, allocations: 113.4 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008187/0.9897, allocations: 1.055 MB / 1.276 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.9897, allocations: 17.34 kB / 1.276 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.9899, allocations: 38.66 kB / 1.276 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.99, allocations: 43.56 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.9901, allocations: 93.34 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.9907, allocations: 230.3 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.9907, allocations: 0.9062 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.835e-06/0.9907, allocations: 0 / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.098e-06/0.9907, allocations: 0 / 1.276 GB, free: 5.43 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.0009035/0.9916, allocations: 0.5541 MB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.9916, allocations: 9.156 kB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.9917, allocations: 25.2 kB / 1.277 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.9921, allocations: 251.2 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.9921, allocations: 11.5 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.9922, allocations: 22.56 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.9924, allocations: 108.6 kB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.9924, allocations: 0 / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.9925, allocations: 6 kB / 1.277 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.9925, allocations: 5.875 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.9926, allocations: 59.91 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.9935, allocations: 489.3 kB / 1.278 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.9938, allocations: 106.1 kB / 1.278 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.9938, allocations: 36.38 kB / 1.278 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.9939, allocations: 13.48 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.994, allocations: 107.8 kB / 1.278 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.994, allocations: 0.9062 kB / 1.278 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003862/0.9944, allocations: 174.6 kB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.9945, allocations: 56.59 kB / 1.278 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.9947, allocations: 203.7 kB / 1.279 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.9947, allocations: 34.67 kB / 1.279 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.9948, allocations: 136 kB / 1.279 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.9948, allocations: 39.72 kB / 1.279 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.9949, allocations: 62.34 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.995, allocations: 330.5 kB / 1.279 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.9951, allocations: 63.7 kB / 1.279 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.9954, allocations: 135 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.9956, allocations: 210.5 kB / 1.28 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9956, allocations: 4.031 kB / 1.28 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005721/0.9962, allocations: 329.2 kB / 1.28 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.9963, allocations: 65.56 kB / 1.28 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9963, allocations: 5.844 kB / 1.28 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9963, allocations: 2.469 kB / 1.28 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.9964, allocations: 20.81 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.9964, allocations: 2.969 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.9966, allocations: 25.98 kB / 1.28 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.9966, allocations: 16.62 kB / 1.28 GB, free: 2.719 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.0001127/0.9967, allocations: 141.7 kB / 1.28 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.9968, allocations: 16.88 kB / 1.28 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.997, allocations: 153.2 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.997, allocations: 2.328 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.997, allocations: 0.5 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.997, allocations: 1.547 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.9976, allocations: 493.3 kB / 1.281 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9976, allocations: 3.938 kB / 1.281 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.9976, allocations: 10.81 kB / 1.281 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9976, allocations: 2.094 kB / 1.281 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9977, allocations: 6.031 kB / 1.281 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.9977, allocations: 5.062 kB / 1.281 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9977, allocations: 0 / 1.281 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.9979, allocations: 242.9 kB / 1.281 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.9979, allocations: 110.2 kB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.998, allocations: 5.984 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9981, allocations: 7.641 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.9982, allocations: 17.45 kB / 1.281 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.9982, allocations: 11.7 kB / 1.281 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001211/0.9983, allocations: 149.3 kB / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9983, allocations: 0 / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003216/0.9986, allocations: 46.17 kB / 1.281 GB, free: 1.699 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.0003529/0.999, allocations: 176.9 kB / 1.282 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.9994, allocations: 241.3 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9994, allocations: 0 / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.9995, allocations: 46 kB / 1.282 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.9999, allocations: 70.25 kB / 1.282 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/1, allocations: 328.7 kB / 1.282 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/1.001, allocations: 0.7276 MB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.204e-05/1.001, allocations: 34.33 kB / 1.283 GB, free: 468 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/1.001, allocations: 29.8 kB / 1.283 GB, free: 456 kB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.001, allocations: 3.938 kB / 1.283 GB, free: 452 kB / 0.9981 GB Notification: Performance of Templates: time 0.008226/1.009, allocations: 3.612 MB / 1.286 GB, free: 112 kB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins/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: 8.913683282211423]