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.001013/0.001013, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001637/0.001637, allocations: 161 kB / 23.82 MB, free: 0.75 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.9607/0.9607, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.052e-06/1.052e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.464e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003556/0.003571, allocations: 4.026 MB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.005519, allocations: 1.365 MB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.005778, allocations: 27.81 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.006024, allocations: 123.3 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.006263, allocations: 198.4 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.006775, allocations: 408 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.00738, allocations: 0.9798 MB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.007717, allocations: 290.6 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.008082, allocations: 0.495 MB / 0.8192 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.008291, allocations: 239.2 kB / 0.8194 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.008365, allocations: 89.53 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.008434, allocations: 92 kB / 0.8196 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/0.008522, allocations: 187.3 kB / 0.8198 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.008679, allocations: 247.4 kB / 0.82 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.009131, allocations: 0.5856 MB / 0.8206 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.009133, allocations: 0 / 0.8206 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.009134, allocations: 0 / 0.8206 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.00914, allocations: 0 / 0.8206 GB, free: 8.438 MB / 0.7761 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.001081/0.01022, allocations: 1.152 MB / 0.8217 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.01025, allocations: 8.844 kB / 0.8217 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.01037, allocations: 140.4 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.0109, allocations: 0.5368 MB / 0.8224 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.01093, allocations: 41.69 kB / 0.8224 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.01099, allocations: 65.02 kB / 0.8225 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.01179, allocations: 0.5193 MB / 0.823 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.01181, allocations: 1.094 kB / 0.823 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.01184, allocations: 28.38 kB / 0.823 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.01186, allocations: 16.78 kB / 0.823 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.0122, allocations: 228.9 kB / 0.8232 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01376, allocations: 1.802 MB / 0.825 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.01413, allocations: 278.5 kB / 0.8253 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01428, allocations: 125.1 kB / 0.8254 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.01431, allocations: 8.5 kB / 0.8254 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.01453, allocations: 187.9 kB / 0.8256 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=49): time 1.703e-06/0.01454, allocations: 0 / 0.8256 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.0005188/0.01506, allocations: 384.7 kB / 0.8259 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.01508, allocations: 59.84 kB / 0.826 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.01538, allocations: 443.8 kB / 0.8264 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.0154, allocations: 38.83 kB / 0.8265 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.01557, allocations: 379.5 kB / 0.8268 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.01566, allocations: 170.5 kB / 0.827 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.01575, allocations: 105 kB / 0.8271 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01589, allocations: 0.5313 MB / 0.8276 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.01603, allocations: 103 kB / 0.8277 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.0162, allocations: 210.5 kB / 0.8279 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.01649, allocations: 310.1 kB / 0.8282 GB, free: 304 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01649, allocations: 0 / 0.8282 GB, free: 304 kB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004516/0.01694, allocations: 445.4 kB / 0.8286 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.01697, allocations: 37.69 kB / 0.8287 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01698, allocations: 0 / 0.8287 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.017, allocations: 9.094 kB / 0.8287 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.01726, allocations: 107.8 kB / 0.8288 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.01726, allocations: 9 kB / 0.8288 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01739, allocations: 51.72 kB / 0.8288 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.01742, allocations: 21.12 kB / 0.8289 GB, free: 15.61 MB / 0.7917 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * 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.0001356/0.01756, allocations: 192.4 kB / 0.829 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.01761, allocations: 72.88 kB / 0.8291 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.085e-05/0.01768, allocations: 61.45 kB / 0.8292 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01769, allocations: 7.984 kB / 0.8292 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.0177, allocations: 4.812 kB / 0.8292 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.0177, allocations: 0 / 0.8292 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.01879, allocations: 0.8814 MB / 0.83 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01879, allocations: 0 / 0.83 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.01902, allocations: 83.89 kB / 0.8301 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01903, allocations: 4 kB / 0.8301 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.01905, allocations: 15.94 kB / 0.8301 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01905, allocations: 0 / 0.8301 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01905, allocations: 0 / 0.8301 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.01958, allocations: 0.5611 MB / 0.8307 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.01968, allocations: 101.2 kB / 0.8308 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.01972, allocations: 15.94 kB / 0.8308 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01983, allocations: 15.98 kB / 0.8308 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.0199, allocations: 36.44 kB / 0.8308 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.01991, allocations: 12.48 kB / 0.8309 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001832/0.0201, allocations: 295.9 kB / 0.8311 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.0201, allocations: 0 / 0.8311 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002542/0.02035, allocations: 143.6 kB / 0.8313 GB, free: 13.07 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.568e-05/0.02045, allocations: 112.5 kB / 0.8314 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.02084, allocations: 352.3 kB / 0.8317 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.02084, allocations: 0 / 0.8317 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.021, allocations: 143.4 kB / 0.8319 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.02141, allocations: 154.5 kB / 0.832 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.02292, allocations: 1.176 MB / 0.8332 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.023, allocations: 133.9 kB / 0.8333 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.02314, allocations: 64.53 kB / 0.8333 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.02323, allocations: 36.5 kB / 0.8334 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of SimCode: time 8.51e-07/0.02323, allocations: 0 / 0.8334 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of Templates: time 0.007734/0.03097, allocations: 5.846 MB / 0.8391 GB, free: 5.133 MB / 0.7917 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.1416493891738355]