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.001682/0.001682, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002056/0.002056, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.273/3.273, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002005/0.002005, allocations: 66.91 kB / 1.155 GB, free: 25.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3892, allocations: 176.1 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003441/0.3926, allocations: 1.757 MB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3939, allocations: 0.6197 MB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.394, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.3942, allocations: 35.72 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3946, allocations: 123.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.395, allocations: 160.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.3954, allocations: 239.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3956, allocations: 37.73 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.3958, allocations: 115.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008249/0.404, allocations: 1.052 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.4041, allocations: 20 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.4043, allocations: 39.92 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.4043, allocations: 43.83 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.4045, allocations: 75.64 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.4049, allocations: 231.1 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4049, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4049, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.4049, allocations: 0 / 1.331 GB, free: 12.56 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.0009513/0.4059, allocations: 0.4928 MB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4059, allocations: 11.97 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.406, allocations: 24.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4064, allocations: 194.7 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4064, allocations: 12.36 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.4064, allocations: 20.12 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.4067, allocations: 111.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4067, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.4067, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4067, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4068, allocations: 63.77 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.4077, allocations: 392.1 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.408, allocations: 98.73 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.4081, allocations: 36.84 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4081, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.4083, allocations: 103.3 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.562e-06/0.4083, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000388/0.4087, allocations: 175.8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.4087, allocations: 59.39 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.409, allocations: 211.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.409, allocations: 33.7 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4091, allocations: 128.4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.4092, allocations: 39.69 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4093, allocations: 61.67 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4095, allocations: 326.8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.4097, allocations: 127.3 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.41, allocations: 238.4 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4103, allocations: 219.7 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4103, allocations: 0 / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006822/0.411, allocations: 392 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.4111, allocations: 69.73 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4111, allocations: 4 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.4111, allocations: 7.922 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.4112, allocations: 16.16 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4112, allocations: 11.94 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.4114, allocations: 23.88 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.4114, allocations: 15.98 kB / 1.335 GB, free: 8.578 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.0001525/0.4116, allocations: 141.5 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.4116, allocations: 27.78 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.4119, allocations: 147.3 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4119, allocations: 7.875 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4119, allocations: 4 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4119, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.4125, allocations: 418 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4125, allocations: 3.938 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.4126, allocations: 8 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4126, allocations: 0 / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4126, allocations: 3.984 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4126, allocations: 0 / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4126, allocations: 0 / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.4129, allocations: 246.1 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.4129, allocations: 31.77 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.413, allocations: 4 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4131, allocations: 11.98 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.4132, allocations: 19.97 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.4132, allocations: 12 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001462/0.4133, allocations: 141.5 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4133, allocations: 4 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003253/0.4137, allocations: 51.89 kB / 1.336 GB, free: 7.254 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.0004753/0.4141, allocations: 158.5 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.4147, allocations: 314.1 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4147, allocations: 4.062 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4148, allocations: 47.91 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.4152, allocations: 63.19 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.416, allocations: 318 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.4162, allocations: 124 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.4163, allocations: 29.92 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.4163, allocations: 31.36 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4163, allocations: 0 / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of Templates: time 0.009272/0.4256, allocations: 3.96 MB / 1.341 GB, free: 2.246 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 -s gbode -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: 9.20592173699697]