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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001988/0.001988, allocations: 213.8 kB / 22.25 MB, free: 4.855 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.789 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.985/2.985, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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.002166/0.002166, allocations: 66.94 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3818, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00359/0.3854, allocations: 1.774 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3867, allocations: 0.6159 MB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.3868, allocations: 3.938 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.387, allocations: 27.73 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.3875, allocations: 127.4 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3879, allocations: 162.6 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000366/0.3883, allocations: 243.3 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3884, allocations: 33.72 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3886, allocations: 107.7 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008621/0.3972, allocations: 1.046 MB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.631e-05/0.3973, allocations: 16 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.3974, allocations: 43.97 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.3975, allocations: 39.91 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3977, allocations: 79.56 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.3981, allocations: 227.1 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3981, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3981, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3981, allocations: 3.938 kB / 1.287 GB, free: 7.699 MB / 0.9825 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.0009217/0.3991, allocations: 0.4927 MB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3991, allocations: 12.03 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.3992, allocations: 20.84 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.3996, allocations: 190.3 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3996, allocations: 12.38 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.3996, allocations: 24.06 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3999, allocations: 107.7 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3999, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3999, allocations: 4 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3999, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4001, allocations: 63.94 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.401, allocations: 396.1 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.4012, allocations: 102.7 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.4013, allocations: 36.84 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4013, allocations: 3.938 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.4015, allocations: 107.4 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4015, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003931/0.4019, allocations: 177.4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.402, allocations: 59.34 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.4022, allocations: 203.8 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.4022, allocations: 33.7 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4024, allocations: 132.4 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.4024, allocations: 31.75 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4025, allocations: 69.61 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4027, allocations: 334.8 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.4029, allocations: 123.3 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.4032, allocations: 242.5 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.4036, allocations: 210.4 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4036, allocations: 4 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007051/0.4043, allocations: 389.8 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.4043, allocations: 63.39 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4043, allocations: 0 / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.4044, allocations: 7.938 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.4045, allocations: 23.92 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.4045, allocations: 0 / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.4047, allocations: 23.89 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.4047, allocations: 15.98 kB / 1.291 GB, free: 3.723 MB / 0.9825 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.0001552/0.4049, allocations: 139.8 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.4049, allocations: 27.86 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.4052, allocations: 153.9 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4052, allocations: 3.938 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4052, allocations: 0 / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4052, allocations: 3.984 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.4059, allocations: 413.9 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4059, allocations: 3.938 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.406, allocations: 11.92 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.406, allocations: 7.969 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.406, allocations: 8 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.406, allocations: 4 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.406, allocations: 0 / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.4063, allocations: 234.5 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.4063, allocations: 31.77 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.4064, allocations: 11.98 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4065, allocations: 4 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.4065, allocations: 19.97 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.4066, allocations: 11.98 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001436/0.4067, allocations: 145.5 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4067, allocations: 0 / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003259/0.407, allocations: 43.94 kB / 1.292 GB, free: 2.402 MB / 0.9825 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.0004302/0.4075, allocations: 166.7 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.408, allocations: 310 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.408, allocations: 0 / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/0.4081, allocations: 47.92 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.4085, allocations: 67.62 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.4093, allocations: 323.5 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.4094, allocations: 120.1 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.632e-05/0.4095, allocations: 25.94 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.4096, allocations: 27.42 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.4096, allocations: 0 / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of Templates: time 0.009392/0.419, allocations: 3.934 MB / 1.297 GB, free: 13.42 MB / 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: 9.157255437225103]