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.001389/0.001389, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.001494/0.001494, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.4899 GB / 0.7915 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",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.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 70.67 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3633, allocations: 176.1 MB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003406/0.3668, allocations: 1.802 MB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.368, allocations: 0.6236 MB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.3681, allocations: 0 / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.3683, allocations: 35.72 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.3686, allocations: 119.4 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.3689, allocations: 163 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3692, allocations: 251.4 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.3693, allocations: 25.69 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3694, allocations: 111.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007882/0.3773, allocations: 1.056 MB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.3773, allocations: 16 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.3774, allocations: 36 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.3775, allocations: 51.75 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3776, allocations: 95.45 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.378, allocations: 223.1 kB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.378, allocations: 7.938 kB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.378, allocations: 0 / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.3781, allocations: 0 / 1.326 GB, free: 14.52 MB / 1.029 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.000934/0.379, allocations: 0.5564 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.379, allocations: 19.97 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.3791, allocations: 28.73 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3795, allocations: 248.2 kB / 1.327 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3795, allocations: 8.375 kB / 1.327 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.3796, allocations: 20.12 kB / 1.327 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3798, allocations: 105.6 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3798, allocations: 0 / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3798, allocations: 3.984 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.3798, allocations: 4 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.38, allocations: 63.83 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.3809, allocations: 488.3 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.3812, allocations: 106.7 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.3813, allocations: 32.84 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3813, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.3815, allocations: 103.4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.3815, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003762/0.3819, allocations: 169.4 kB / 1.328 GB, free: 12.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3819, allocations: 67.38 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3821, allocations: 207.8 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.3822, allocations: 33.7 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3823, allocations: 124.5 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.3823, allocations: 43.62 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3824, allocations: 65.67 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3826, allocations: 326.8 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3828, allocations: 63.95 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.383, allocations: 133.6 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.3834, allocations: 213.3 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3834, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006504/0.384, allocations: 332.7 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.3841, allocations: 72.02 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3841, allocations: 3.938 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3841, allocations: 7.938 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.3842, allocations: 19.94 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3842, allocations: 16.08 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3844, allocations: 15.95 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3844, allocations: 15.98 kB / 1.329 GB, free: 10.54 MB / 1.029 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.0001569/0.3846, allocations: 148 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.3846, allocations: 19.86 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.3849, allocations: 150.2 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3849, allocations: 0 / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3849, allocations: 4 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3849, allocations: 4 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.3855, allocations: 494.1 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3855, allocations: 0 / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.3856, allocations: 4 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3856, allocations: 4 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3856, allocations: 3.984 kB / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3856, allocations: 0 / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3856, allocations: 0 / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3859, allocations: 251.2 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.3859, allocations: 104.9 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.386, allocations: 4 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3861, allocations: 11.98 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.3861, allocations: 7.984 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.3862, allocations: 15.98 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001367/0.3863, allocations: 145.5 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3863, allocations: 4 kB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003261/0.3866, allocations: 51.89 kB / 1.331 GB, free: 9.035 MB / 1.029 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.0003784/0.387, allocations: 180 kB / 1.331 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.3874, allocations: 242.5 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3874, allocations: 7.938 kB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.3875, allocations: 47.92 kB / 1.331 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.388, allocations: 66.23 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.3886, allocations: 315.1 kB / 1.331 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.389, allocations: 0.728 MB / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.627e-05/0.3891, allocations: 25.94 kB / 1.332 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.3891, allocations: 23.44 kB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3891, allocations: 0 / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of Templates: time 0.008091/0.3972, allocations: 3.578 MB / 1.336 GB, free: 3.812 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.94630392594263]