Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001015/0.001015, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00186/0.00186, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9746/0.9746, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.401/2.401, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.807e-05, allocations: 3.297 kB / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002138/0.002156, allocations: 1.823 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.003012, allocations: 0.6464 MB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.003079, allocations: 3.938 kB / 0.841 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.003246, allocations: 23.73 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.003582, allocations: 131.3 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.00389, allocations: 159.6 kB / 0.8413 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.00412, allocations: 255.2 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.004219, allocations: 30.44 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.01464, allocations: 3.2 MB / 0.8446 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.01483, allocations: 99.78 kB / 0.8447 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.01486, allocations: 16 kB / 0.8448 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.01495, allocations: 35.88 kB / 0.8448 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.015, allocations: 43.81 kB / 0.8448 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.01508, allocations: 59.83 kB / 0.8449 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.01538, allocations: 179.4 kB / 0.8451 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01538, allocations: 0 / 0.8451 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01539, allocations: 0 / 0.8451 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.01539, allocations: 4 kB / 0.8451 GB, free: 8.766 MB / 0.8073 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.0006057/0.01599, allocations: 470.8 kB / 0.8455 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01603, allocations: 8.625 kB / 0.8455 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.01609, allocations: 28.91 kB / 0.8456 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.01632, allocations: 185.3 kB / 0.8457 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.01633, allocations: 12.38 kB / 0.8457 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.01636, allocations: 16.38 kB / 0.8458 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.01648, allocations: 78.19 kB / 0.8458 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.01648, allocations: 7.938 kB / 0.8458 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.0165, allocations: 4 kB / 0.8458 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.0165, allocations: 0 / 0.8458 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.01655, allocations: 27.98 kB / 0.8459 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.01704, allocations: 278.7 kB / 0.8461 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.0172, allocations: 78.45 kB / 0.8462 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.01722, allocations: 16.86 kB / 0.8462 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.01724, allocations: 4 kB / 0.8462 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.01735, allocations: 85.97 kB / 0.8463 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.01735, allocations: 0 / 0.8463 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001929/0.01755, allocations: 105.6 kB / 0.8464 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.01759, allocations: 59.34 kB / 0.8465 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.01773, allocations: 187.5 kB / 0.8466 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.01776, allocations: 33.7 kB / 0.8467 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.01783, allocations: 124.4 kB / 0.8468 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.01787, allocations: 35.69 kB / 0.8468 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.01795, allocations: 65.84 kB / 0.8469 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01806, allocations: 342.7 kB / 0.8472 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01819, allocations: 107.9 kB / 0.8473 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.01836, allocations: 206.3 kB / 0.8475 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01853, allocations: 176 kB / 0.8477 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01853, allocations: 3.938 kB / 0.8477 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002881/0.01882, allocations: 276.3 kB / 0.848 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.01887, allocations: 67.39 kB / 0.848 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01887, allocations: 0 / 0.848 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01889, allocations: 4 kB / 0.848 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.01898, allocations: 27.92 kB / 0.8481 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.01898, allocations: 0 / 0.8481 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.0191, allocations: 27.88 kB / 0.8481 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.01912, allocations: 12.16 kB / 0.8481 GB, free: 5.359 MB / 0.8073 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.0001117/0.01923, allocations: 142.6 kB / 0.8482 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.01926, allocations: 19.98 kB / 0.8482 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.01941, allocations: 91.34 kB / 0.8483 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01942, allocations: 4 kB / 0.8483 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.01942, allocations: 3.984 kB / 0.8483 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01942, allocations: 0 / 0.8483 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.01979, allocations: 301.9 kB / 0.8486 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01979, allocations: 0 / 0.8486 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.01982, allocations: 8 kB / 0.8486 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01982, allocations: 8 kB / 0.8486 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01983, allocations: 7.984 kB / 0.8486 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.01984, allocations: 0 / 0.8486 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.01984, allocations: 4 kB / 0.8487 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01998, allocations: 179.4 kB / 0.8488 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.02002, allocations: 27.78 kB / 0.8489 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.02004, allocations: 7.938 kB / 0.8489 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.02012, allocations: 11.98 kB / 0.8489 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.02017, allocations: 15.91 kB / 0.8489 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.02019, allocations: 8 kB / 0.8489 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.02024, allocations: 53.78 kB / 0.8489 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02024, allocations: 0 / 0.8489 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002546/0.02049, allocations: 44 kB / 0.849 GB, free: 4.383 MB / 0.8073 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.0003441/0.02084, allocations: 175 kB / 0.8492 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.02108, allocations: 270.8 kB / 0.8494 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.02108, allocations: 4 kB / 0.8494 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.02114, allocations: 36.78 kB / 0.8495 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.02141, allocations: 60.92 kB / 0.8495 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.02188, allocations: 300 kB / 0.8498 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.02193, allocations: 75.98 kB / 0.8499 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.003e-05/0.02199, allocations: 21.94 kB / 0.8499 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.02216, allocations: 109.3 kB / 0.85 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/0.02216, allocations: 0 / 0.85 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of Templates: time 0.009901/0.03206, allocations: 3.824 MB / 0.8537 GB, free: 15.54 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.52322833519429]