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.001278/0.001278, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.00141/0.00141, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.993/2.993, allocations: 0.49 GB / 0.7923 GB, free: 1.23 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.002033/0.002033, allocations: 67.88 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003046/1.096, allocations: 1.799 MB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001118/1.098, allocations: 0.6206 MB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/1.098, allocations: 3.938 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001979/1.098, allocations: 29.33 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003891/1.098, allocations: 121.6 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/1.099, allocations: 158.6 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/1.099, allocations: 242.7 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/1.099, allocations: 32.08 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/1.099, allocations: 112.5 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007645/1.107, allocations: 1.049 MB / 1.326 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.809e-05/1.107, allocations: 18.59 kB / 1.326 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/1.107, allocations: 38.98 kB / 1.326 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/1.107, allocations: 40.77 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/1.107, allocations: 98.06 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/1.108, allocations: 219.7 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.108, allocations: 4.297 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.002e-06/1.108, allocations: 0 / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.108, allocations: 0 / 1.326 GB, free: 22.54 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.00083/1.108, allocations: 0.5601 MB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.108, allocations: 12.92 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/1.108, allocations: 28.83 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/1.109, allocations: 253 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.109, allocations: 14.91 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/1.109, allocations: 20.72 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.109, allocations: 98.78 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.109, allocations: 0 / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/1.109, allocations: 4.75 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.109, allocations: 2.562 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/1.109, allocations: 61.44 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/1.11, allocations: 489.6 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/1.111, allocations: 108.8 kB / 1.328 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/1.111, allocations: 45.91 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.111, allocations: 2.344 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/1.111, allocations: 95.81 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/1.111, allocations: 0 / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004166/1.111, allocations: 183 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/1.111, allocations: 54.34 kB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/1.111, allocations: 209 kB / 1.329 GB, free: 20.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/1.111, allocations: 41.36 kB / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/1.112, allocations: 133.9 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/1.112, allocations: 38.2 kB / 1.329 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.112, allocations: 60.2 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/1.112, allocations: 330.5 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.112, allocations: 60.28 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/1.112, allocations: 135.7 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/1.112, allocations: 216.7 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.113, allocations: 4 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006389/1.113, allocations: 327.8 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/1.113, allocations: 64.27 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.113, allocations: 5.781 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.113, allocations: 6.75 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/1.113, allocations: 24.77 kB / 1.33 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.113, allocations: 6.234 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/1.114, allocations: 27.06 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/1.114, allocations: 14.56 kB / 1.33 GB, free: 19.81 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.0001267/1.114, allocations: 142 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/1.114, allocations: 21.66 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/1.114, allocations: 153.3 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.114, allocations: 2.125 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.114, allocations: 0.5156 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.114, allocations: 0.6094 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/1.115, allocations: 0.4904 MB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.115, allocations: 0 / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/1.115, allocations: 7.359 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.115, allocations: 1.344 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.115, allocations: 2.297 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.115, allocations: 0 / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.115, allocations: 1.625 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/1.115, allocations: 249.8 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/1.115, allocations: 101.8 kB / 1.331 GB, free: 18.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/1.115, allocations: 5.922 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/1.115, allocations: 7.938 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/1.115, allocations: 16.56 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.115, allocations: 12.19 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001299/1.115, allocations: 149.4 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.115, allocations: 0 / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000344/1.116, allocations: 53.92 kB / 1.331 GB, free: 18.79 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.0003816/1.116, allocations: 159.3 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000444/1.117, allocations: 248.8 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.117, allocations: 3.938 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/1.117, allocations: 50.38 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/1.117, allocations: 65.23 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007602/1.118, allocations: 347.7 kB / 1.332 GB, free: 18.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/1.118, allocations: 0.7277 MB / 1.333 GB, free: 17.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/1.118, allocations: 27.8 kB / 1.333 GB, free: 17.53 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.118, allocations: 0 / 1.333 GB, free: 17.53 MB / 1.061 GB Notification: Performance of Templates: time 0.008585/1.127, allocations: 3.288 MB / 1.336 GB, free: 17.16 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.786997072995291]