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.001797/0.001797, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002116/0.002116, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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.613/2.613, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 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.002135/0.002135, allocations: 71.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2836, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003249/0.2869, allocations: 1.765 MB / 1.119 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2882, allocations: 0.6236 MB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.2883, allocations: 3.938 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.2884, allocations: 35.7 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.2889, allocations: 115.5 kB / 1.12 GB, free: 4 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2893, allocations: 161.8 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.2897, allocations: 247.4 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2898, allocations: 21.8 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2899, allocations: 111.7 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008263/0.2982, allocations: 1.048 MB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.2983, allocations: 16 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2984, allocations: 40 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.2985, allocations: 47.81 kB / 1.122 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2986, allocations: 75.58 kB / 1.122 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.299, allocations: 223.1 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.299, allocations: 7.984 kB / 1.122 GB, free: 14.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.299, allocations: 4 kB / 1.122 GB, free: 14.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.299, allocations: 0 / 1.122 GB, free: 14.28 MB / 1.076 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.0008168/0.2998, allocations: 492.6 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2999, allocations: 12.03 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.3, allocations: 28.73 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3003, allocations: 186.3 kB / 1.123 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3003, allocations: 12.38 kB / 1.123 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.3003, allocations: 28.09 kB / 1.123 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3005, allocations: 105.6 kB / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3005, allocations: 0 / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3006, allocations: 4 kB / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3006, allocations: 0 / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3007, allocations: 59.83 kB / 1.123 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.3015, allocations: 396.1 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.3018, allocations: 106.5 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.3018, allocations: 36.83 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3019, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.3021, allocations: 107.4 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3021, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003548/0.3024, allocations: 181.4 kB / 1.124 GB, free: 12.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3025, allocations: 55.39 kB / 1.124 GB, free: 12.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3027, allocations: 207.8 kB / 1.124 GB, free: 12.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3027, allocations: 33.7 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3028, allocations: 132.5 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.3029, allocations: 47.69 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.303, allocations: 57.67 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3031, allocations: 326.8 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3033, allocations: 123.3 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.3036, allocations: 245.1 kB / 1.125 GB, free: 11.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.3039, allocations: 213.2 kB / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.304, allocations: 32 / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006689/0.3046, allocations: 392.1 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.3047, allocations: 67.39 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3047, allocations: 0 / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3047, allocations: 11.88 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.3048, allocations: 23.92 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3048, allocations: 4 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.305, allocations: 23.88 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.305, allocations: 16.14 kB / 1.125 GB, free: 10.3 MB / 1.076 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.0001391/0.3052, allocations: 143.8 kB / 1.126 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.3052, allocations: 19.86 kB / 1.126 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3055, allocations: 149.7 kB / 1.126 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3055, allocations: 11.92 kB / 1.126 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3055, allocations: 0 / 1.126 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3055, allocations: 3.938 kB / 1.126 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.3061, allocations: 414 kB / 1.126 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3061, allocations: 7.938 kB / 1.126 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.3062, allocations: 11.94 kB / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3062, allocations: 0 / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3062, allocations: 8 kB / 1.126 GB, free: 9.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3062, allocations: 0 / 1.126 GB, free: 9.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3062, allocations: 3.984 kB / 1.126 GB, free: 9.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3064, allocations: 242.3 kB / 1.126 GB, free: 9.246 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3065, allocations: 23.83 kB / 1.126 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3065, allocations: 8 kB / 1.126 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3066, allocations: 7.984 kB / 1.126 GB, free: 9.207 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.3067, allocations: 19.91 kB / 1.126 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3067, allocations: 8 kB / 1.126 GB, free: 9.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3069, allocations: 153.5 kB / 1.127 GB, free: 9.031 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3069, allocations: 0 / 1.127 GB, free: 9.031 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000329/0.3072, allocations: 51.88 kB / 1.127 GB, free: 8.98 MB / 1.076 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.000368/0.3076, allocations: 164.8 kB / 1.127 GB, free: 8.832 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.308, allocations: 308.4 kB / 1.127 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.308, allocations: 3.938 kB / 1.127 GB, free: 8.492 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.3081, allocations: 47.97 kB / 1.127 GB, free: 8.445 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3086, allocations: 67.7 kB / 1.127 GB, free: 8.383 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.3092, allocations: 319 kB / 1.128 GB, free: 8.043 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3093, allocations: 112.2 kB / 1.128 GB, free: 7.918 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.804e-05/0.3094, allocations: 33.92 kB / 1.128 GB, free: 7.887 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3095, allocations: 28.48 kB / 1.128 GB, free: 7.859 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.3095, allocations: 0 / 1.128 GB, free: 7.859 MB / 1.076 GB Notification: Performance of Templates: time 0.008464/0.3179, allocations: 3.826 MB / 1.131 GB, free: 4.109 MB / 1.076 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 -s ida -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: 8.257843996048905]