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.001728/0.001728, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002151/0.002151, allocations: 209.2 kB / 23.03 MB, free: 4.863 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.00199/0.00199, allocations: 66.86 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4273, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00383/0.4311, allocations: 1.76 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.4326, allocations: 0.6197 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.4327, allocations: 8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.4329, allocations: 27.73 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.4334, allocations: 127.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.4338, allocations: 165.2 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.4342, allocations: 239.4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4344, allocations: 33.72 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.4346, allocations: 111.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008247/0.4428, allocations: 1.038 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.4429, allocations: 20 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.4431, allocations: 35.98 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.4432, allocations: 47.77 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.4433, allocations: 75.62 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.4438, allocations: 231.1 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4438, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4438, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.4438, allocations: 0 / 1.332 GB, free: 12.7 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.0008457/0.4446, allocations: 0.4966 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4447, allocations: 12.02 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.4448, allocations: 24.8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4452, allocations: 194.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.4452, allocations: 12.36 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.4452, allocations: 20.12 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4455, allocations: 105.6 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4455, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4455, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.4455, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.4456, allocations: 63.77 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.4466, allocations: 388.1 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.4469, allocations: 102.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.4469, allocations: 32.84 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.447, allocations: 8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.4471, allocations: 107.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4471, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003965/0.4475, allocations: 175.9 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4476, allocations: 59.39 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.4478, allocations: 211.7 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.4479, allocations: 29.7 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.448, allocations: 132.4 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.448, allocations: 39.67 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4482, allocations: 65.67 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4483, allocations: 330.8 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.4485, allocations: 123.3 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.4489, allocations: 244.8 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.4492, allocations: 210.8 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4492, allocations: 0 / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006786/0.4499, allocations: 400.7 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.4499, allocations: 63.39 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.45, allocations: 4 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.45, allocations: 7.938 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.4501, allocations: 19.98 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.4501, allocations: 7.938 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4503, allocations: 19.88 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.4503, allocations: 19.98 kB / 1.335 GB, free: 8.715 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.0001614/0.4505, allocations: 140.5 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.4505, allocations: 23.84 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4508, allocations: 147.3 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4508, allocations: 3.938 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4508, allocations: 4 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4508, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.4514, allocations: 410 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4514, allocations: 3.938 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.4514, allocations: 8 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4514, allocations: 0 / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4514, allocations: 15.98 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4514, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4514, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4517, allocations: 242 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.4518, allocations: 31.77 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.4518, allocations: 4 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4519, allocations: 7.984 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.452, allocations: 19.97 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.452, allocations: 8 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000141/0.4521, allocations: 145.5 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4521, allocations: 4 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003272/0.4525, allocations: 51.88 kB / 1.336 GB, free: 7.402 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.0004508/0.4529, allocations: 172.3 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.4534, allocations: 305.9 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4534, allocations: 0 / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.4535, allocations: 51.91 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.4539, allocations: 61.98 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.4546, allocations: 352 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.4548, allocations: 116 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.4548, allocations: 31.42 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4548, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of Templates: time 0.006208/0.461, allocations: 3.347 MB / 1.341 GB, free: 2.93 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/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.309218000154942]