Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.00102/0.00102, 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.001209/0.001209, allocations: 165 kB / 24.17 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.925/1.925, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.719e-05, allocations: 3.875 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00422/0.004247, allocations: 3.953 MB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006391, allocations: 1.404 MB / 0.7652 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.006679, allocations: 31.75 kB / 0.7652 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.006947, allocations: 123.5 kB / 0.7653 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.007211, allocations: 197.8 kB / 0.7655 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.007783, allocations: 412.4 kB / 0.7659 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.008432, allocations: 0.9708 MB / 0.7669 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.00876, allocations: 303.6 kB / 0.7672 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.009174, allocations: 0.495 MB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.009396, allocations: 231.8 kB / 0.7679 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.009471, allocations: 93.72 kB / 0.768 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.009537, allocations: 88 kB / 0.768 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.009632, allocations: 179.3 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.009791, allocations: 255.3 kB / 0.7685 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.01023, allocations: 0.5642 MB / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01024, allocations: 5.219 kB / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01024, allocations: 0 / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.01024, allocations: 0 / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.000943/0.01119, allocations: 0.9724 MB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.01122, allocations: 9.062 kB / 0.77 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.01132, allocations: 104.8 kB / 0.7701 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.01179, allocations: 420 kB / 0.7705 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.01181, allocations: 49.69 kB / 0.7705 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.01187, allocations: 67.11 kB / 0.7706 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.0123, allocations: 489.9 kB / 0.7711 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.01232, allocations: 8.078 kB / 0.7711 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.01235, allocations: 24.38 kB / 0.7711 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01237, allocations: 15.94 kB / 0.7711 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.01257, allocations: 164.3 kB / 0.7713 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.01388, allocations: 1.283 MB / 0.7725 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.01414, allocations: 225.6 kB / 0.7727 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.01424, allocations: 106.2 kB / 0.7728 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.01427, allocations: 9.375 kB / 0.7728 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.01444, allocations: 166.7 kB / 0.773 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=49): time 1.613e-06/0.01444, allocations: 2.875 kB / 0.773 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.0003046/0.01475, allocations: 258 kB / 0.7732 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.01478, allocations: 55.91 kB / 0.7733 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.015, allocations: 387.1 kB / 0.7737 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.01502, allocations: 37.7 kB / 0.7737 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01514, allocations: 270.1 kB / 0.774 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.01523, allocations: 170.5 kB / 0.7741 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.01532, allocations: 100.7 kB / 0.7742 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.01541, allocations: 370.6 kB / 0.7746 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.0155, allocations: 82.92 kB / 0.7746 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.01562, allocations: 156.4 kB / 0.7748 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.01583, allocations: 258.8 kB / 0.775 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01583, allocations: 0 / 0.775 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000276/0.01611, allocations: 323.9 kB / 0.7754 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.01614, allocations: 35.72 kB / 0.7754 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01614, allocations: 4 kB / 0.7754 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01615, allocations: 4.875 kB / 0.7754 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.0164, allocations: 111.8 kB / 0.7755 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.0164, allocations: 4.531 kB / 0.7755 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.01653, allocations: 60.2 kB / 0.7756 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.01655, allocations: 16.98 kB / 0.7756 GB, free: 6.387 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001158/0.01666, allocations: 140.8 kB / 0.7757 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.01671, allocations: 51.95 kB / 0.7758 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.01677, allocations: 65.38 kB / 0.7758 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01677, allocations: 4 kB / 0.7758 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01678, allocations: 0 / 0.7758 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01678, allocations: 0 / 0.7758 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.01735, allocations: 0.5874 MB / 0.7764 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01736, allocations: 3.812 kB / 0.7764 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.01757, allocations: 91.89 kB / 0.7765 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01757, allocations: 0 / 0.7765 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.01759, allocations: 8 kB / 0.7765 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01759, allocations: 4 kB / 0.7765 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01759, allocations: 4 kB / 0.7765 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.01794, allocations: 414.6 kB / 0.7769 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.01803, allocations: 59.53 kB / 0.777 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.01806, allocations: 14.62 kB / 0.777 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01817, allocations: 15.98 kB / 0.777 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.01823, allocations: 40.38 kB / 0.777 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.01824, allocations: 11.98 kB / 0.777 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001125/0.01836, allocations: 160.7 kB / 0.7772 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01836, allocations: 0 / 0.7772 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002367/0.01859, allocations: 139.6 kB / 0.7773 GB, free: 4.555 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.211e-05/0.01869, allocations: 103.1 kB / 0.7774 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.01895, allocations: 297.5 kB / 0.7777 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.01896, allocations: 4 kB / 0.7777 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01907, allocations: 123.4 kB / 0.7778 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.01949, allocations: 147.6 kB / 0.778 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.02084, allocations: 1.105 MB / 0.7791 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.685e-05/0.02091, allocations: 126.6 kB / 0.7792 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.02107, allocations: 64.66 kB / 0.7792 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.02128, allocations: 157.3 kB / 0.7794 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.02128, allocations: 0 / 0.7794 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of Templates: time 0.008545/0.02983, allocations: 6.277 MB / 0.7855 GB, free: 12.38 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.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.199301411863416]