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.0009869/0.0009869, 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.00115/0.00115, allocations: 161 kB / 24.17 MB, free: 332 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 1.068/1.068, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.343e-06/1.343e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.212e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002277/0.002289, allocations: 1.877 MB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.003176, allocations: 0.6309 MB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.00324, allocations: 7.938 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.003397, allocations: 26.81 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.00368, allocations: 120.7 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.003966, allocations: 160.2 kB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.004212, allocations: 249.9 kB / 0.763 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.004316, allocations: 31.47 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00835/0.01267, allocations: 3.196 MB / 0.7662 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.01282, allocations: 99.72 kB / 0.7663 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.01285, allocations: 14 kB / 0.7663 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.01292, allocations: 35.92 kB / 0.7663 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.01297, allocations: 51.77 kB / 0.7663 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.01305, allocations: 55.81 kB / 0.7664 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.01334, allocations: 179.3 kB / 0.7666 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01335, allocations: 2.75 kB / 0.7666 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01335, allocations: 4 kB / 0.7666 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.01335, allocations: 0 / 0.7666 GB, free: 1.168 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.0005394/0.01389, allocations: 467.3 kB / 0.767 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.01392, allocations: 12.03 kB / 0.767 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.01397, allocations: 22.52 kB / 0.7671 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.01419, allocations: 201.4 kB / 0.7673 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.01421, allocations: 16.36 kB / 0.7673 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.01424, allocations: 16.38 kB / 0.7673 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.01435, allocations: 83 kB / 0.7674 GB, free: 320 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.01436, allocations: 3.938 kB / 0.7674 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.01437, allocations: 4 kB / 0.7674 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.01438, allocations: 8.844 kB / 0.7674 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.01443, allocations: 27.83 kB / 0.7674 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.01492, allocations: 285.6 kB / 0.7677 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.01507, allocations: 66.47 kB / 0.7677 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.01509, allocations: 12.86 kB / 0.7678 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01511, allocations: 8.656 kB / 0.7678 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.662e-05/0.01521, allocations: 83.98 kB / 0.7678 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01521, allocations: 0.5 kB / 0.7678 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0001676/0.01538, allocations: 101.5 kB / 0.7679 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.01541, allocations: 62.55 kB / 0.768 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01554, allocations: 191.5 kB / 0.7682 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.01557, allocations: 37.69 kB / 0.7682 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.01564, allocations: 112.5 kB / 0.7683 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.01567, allocations: 43.67 kB / 0.7684 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.01575, allocations: 57.66 kB / 0.7684 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.01583, allocations: 338.7 kB / 0.7687 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01595, allocations: 104.1 kB / 0.7688 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01608, allocations: 208.8 kB / 0.769 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.01623, allocations: 178.4 kB / 0.7692 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01623, allocations: 1.156 kB / 0.7692 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002468/0.01648, allocations: 277.4 kB / 0.7695 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.01654, allocations: 63.39 kB / 0.7695 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01654, allocations: 0 / 0.7695 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01655, allocations: 8.875 kB / 0.7695 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.01664, allocations: 31.98 kB / 0.7696 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01665, allocations: 3.938 kB / 0.7696 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.01675, allocations: 24.59 kB / 0.7696 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.01677, allocations: 19.45 kB / 0.7696 GB, free: 13.77 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 8.17e-05/0.01685, allocations: 126.6 kB / 0.7697 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.01688, allocations: 23.92 kB / 0.7698 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.017, allocations: 95.39 kB / 0.7699 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.017, allocations: 4 kB / 0.7699 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01701, allocations: 0 / 0.7699 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01701, allocations: 0 / 0.7699 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.01731, allocations: 305.4 kB / 0.7702 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01731, allocations: 0 / 0.7702 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.01734, allocations: 15.98 kB / 0.7702 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01734, allocations: 0 / 0.7702 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.01735, allocations: 0 / 0.7702 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.01736, allocations: 8 kB / 0.7702 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01736, allocations: 0 / 0.7702 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.01748, allocations: 187.4 kB / 0.7704 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.01752, allocations: 23.84 kB / 0.7704 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01753, allocations: 3.984 kB / 0.7704 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.0176, allocations: 11.03 kB / 0.7704 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.01765, allocations: 19.91 kB / 0.7704 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.01767, allocations: 11.98 kB / 0.7704 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.01772, allocations: 51.09 kB / 0.7705 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01772, allocations: 0 / 0.7705 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002566/0.01797, allocations: 40 kB / 0.7705 GB, free: 12.81 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.0003058/0.01828, allocations: 168.4 kB / 0.7707 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01851, allocations: 270.8 kB / 0.7709 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01852, allocations: 3.938 kB / 0.7709 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.01857, allocations: 36.78 kB / 0.771 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.01883, allocations: 68.3 kB / 0.771 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.01931, allocations: 309.8 kB / 0.7713 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.01935, allocations: 75.98 kB / 0.7714 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.01941, allocations: 17.95 kB / 0.7714 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.01958, allocations: 109.3 kB / 0.7715 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.01958, allocations: 0 / 0.7715 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.006291/0.02587, allocations: 3.824 MB / 0.7753 GB, free: 8.094 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 -s gbode -gbm=radauIIA3 -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: 5.2157477252185345]