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.001158/0.001158, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001001/0.001001, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9516/0.9516, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.843/1.843, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|timSer1.y.[0-9,]+.",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.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.154e-05, allocations: 2.312 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002264/0.002276, allocations: 1.838 MB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.003115, allocations: 0.6308 MB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.003184, allocations: 0 / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.003341, allocations: 30.48 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.003628, allocations: 133 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.003888, allocations: 160.2 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.004098, allocations: 243.7 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.004188, allocations: 30.42 kB / 0.763 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008017/0.01221, allocations: 3.193 MB / 0.7661 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.01234, allocations: 99.72 kB / 0.7662 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.01237, allocations: 16 kB / 0.7662 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.01243, allocations: 39.86 kB / 0.7662 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.01248, allocations: 41.3 kB / 0.7663 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.01254, allocations: 63.81 kB / 0.7663 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.01277, allocations: 179.3 kB / 0.7665 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.01277, allocations: 0 / 0.7665 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.01277, allocations: 1.812 kB / 0.7665 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.01277, allocations: 0 / 0.7665 GB, free: 1.281 MB / 0.7136 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.0004671/0.01324, allocations: 478.5 kB / 0.767 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.01327, allocations: 8.031 kB / 0.767 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.01332, allocations: 24.92 kB / 0.767 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.0135, allocations: 190.1 kB / 0.7672 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.01351, allocations: 12.38 kB / 0.7672 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.01353, allocations: 20.36 kB / 0.7672 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.01363, allocations: 82 kB / 0.7673 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01364, allocations: 3.938 kB / 0.7673 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.01365, allocations: 4 kB / 0.7673 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.01365, allocations: 2.875 kB / 0.7673 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.01369, allocations: 35.84 kB / 0.7673 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.01409, allocations: 286.6 kB / 0.7676 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.01422, allocations: 72.02 kB / 0.7677 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.01426, allocations: 16.91 kB / 0.7677 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.01427, allocations: 4 kB / 0.7677 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.72e-05/0.01435, allocations: 84.7 kB / 0.7678 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.01435, allocations: 0 / 0.7678 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0001379/0.01449, allocations: 109.1 kB / 0.7679 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.01452, allocations: 60.67 kB / 0.7679 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.01462, allocations: 191.4 kB / 0.7681 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.01464, allocations: 33.7 kB / 0.7681 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.0147, allocations: 116.5 kB / 0.7682 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.01472, allocations: 36.33 kB / 0.7683 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.01478, allocations: 62.28 kB / 0.7683 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.01486, allocations: 342.7 kB / 0.7687 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.01495, allocations: 104.7 kB / 0.7688 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01505, allocations: 206.4 kB / 0.769 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.01517, allocations: 175.7 kB / 0.7691 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01517, allocations: 0 / 0.7691 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001845/0.01535, allocations: 274.7 kB / 0.7694 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.01539, allocations: 70.52 kB / 0.7695 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.01539, allocations: 0 / 0.7695 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.0154, allocations: 4 kB / 0.7695 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.01546, allocations: 27.92 kB / 0.7695 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.01546, allocations: 0 / 0.7695 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.01554, allocations: 27.88 kB / 0.7695 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01556, allocations: 12 kB / 0.7695 GB, free: 13.89 MB / 0.7292 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 7.747e-05/0.01564, allocations: 139.2 kB / 0.7697 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.01565, allocations: 20.83 kB / 0.7697 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.01583, allocations: 91.39 kB / 0.7698 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.01583, allocations: 5.031 kB / 0.7698 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01583, allocations: 0 / 0.7698 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01583, allocations: 0 / 0.7698 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.01608, allocations: 307.2 kB / 0.7701 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01608, allocations: 1.125 kB / 0.7701 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.0161, allocations: 11.98 kB / 0.7701 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.0161, allocations: 0 / 0.7701 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.01611, allocations: 6.438 kB / 0.7701 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01611, allocations: 3.938 kB / 0.7701 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01611, allocations: 0 / 0.7701 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.01624, allocations: 187.4 kB / 0.7703 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.01626, allocations: 23.84 kB / 0.7703 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.01628, allocations: 8 kB / 0.7703 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.01632, allocations: 11.98 kB / 0.7703 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.01636, allocations: 18.38 kB / 0.7703 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.01637, allocations: 8 kB / 0.7703 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.01641, allocations: 55.08 kB / 0.7704 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01641, allocations: 0 / 0.7704 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001757/0.01658, allocations: 44 kB / 0.7704 GB, free: 12.91 MB / 0.7292 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.000251/0.01683, allocations: 164.2 kB / 0.7706 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01703, allocations: 266.8 kB / 0.7708 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.01703, allocations: 4 kB / 0.7708 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.01707, allocations: 40.77 kB / 0.7709 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.01726, allocations: 64.39 kB / 0.7709 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.01769, allocations: 300 kB / 0.7712 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.01773, allocations: 76.58 kB / 0.7713 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.01777, allocations: 22.59 kB / 0.7713 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.0179, allocations: 105.8 kB / 0.7714 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.0179, allocations: 1.5 kB / 0.7714 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.005067/0.02297, allocations: 3.829 MB / 0.7752 GB, free: 8.203 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.873237033840269]