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.001202/0.001202, 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.9832/0.9832, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.792/1.792, allocations: 377.8 MB / 0.6236 GB, free: 8.496 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 2.555e-06/2.555e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.741e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00578/0.005818, allocations: 4.042 MB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.008037, allocations: 1.357 MB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.008473, allocations: 28.47 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.008769, allocations: 126.7 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.009074, allocations: 190.9 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.009748, allocations: 415.2 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008532/0.0106, allocations: 0.9753 MB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.01103, allocations: 296.1 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.01156, allocations: 0.5028 MB / 0.8192 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.01181, allocations: 239.2 kB / 0.8194 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.01189, allocations: 88 kB / 0.8195 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.01197, allocations: 89.19 kB / 0.8196 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.01206, allocations: 175.4 kB / 0.8198 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.01223, allocations: 243.4 kB / 0.82 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.01276, allocations: 0.5725 MB / 0.8206 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01276, allocations: 0 / 0.8206 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01277, allocations: 1.25 kB / 0.8206 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.01278, allocations: 0 / 0.8206 GB, free: 8.41 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.001213/0.01399, allocations: 1.144 MB / 0.8217 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.01403, allocations: 8.562 kB / 0.8217 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.01418, allocations: 140.4 kB / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.01475, allocations: 0.5408 MB / 0.8224 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.01478, allocations: 45.69 kB / 0.8224 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.01484, allocations: 57.09 kB / 0.8225 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.01545, allocations: 0.5192 MB / 0.823 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.01547, allocations: 5.516 kB / 0.823 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.01551, allocations: 24.38 kB / 0.823 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.01553, allocations: 19.94 kB / 0.823 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.01589, allocations: 228.5 kB / 0.8232 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.01767, allocations: 1.788 MB / 0.825 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.01807, allocations: 275.1 kB / 0.8252 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.01823, allocations: 128.6 kB / 0.8254 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.01826, allocations: 12.44 kB / 0.8254 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.01851, allocations: 183.9 kB / 0.8255 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.01851, allocations: 0 / 0.8255 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.0005616/0.01907, allocations: 388.7 kB / 0.8259 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.01911, allocations: 59.84 kB / 0.826 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.01942, allocations: 447.3 kB / 0.8264 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.01945, allocations: 37.7 kB / 0.8264 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.01963, allocations: 376.1 kB / 0.8268 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.01973, allocations: 176.4 kB / 0.827 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.01983, allocations: 103.9 kB / 0.8271 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01998, allocations: 0.5313 MB / 0.8276 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.02012, allocations: 98.97 kB / 0.8277 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.02031, allocations: 214.8 kB / 0.8279 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.02063, allocations: 307.5 kB / 0.8282 GB, free: 288 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02063, allocations: 0 / 0.8282 GB, free: 288 kB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004715/0.0211, allocations: 443.6 kB / 0.8286 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.02113, allocations: 41.69 kB / 0.8286 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.02114, allocations: 0 / 0.8286 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.02115, allocations: 4 kB / 0.8286 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.02144, allocations: 112.8 kB / 0.8287 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.02145, allocations: 11.94 kB / 0.8288 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.0216, allocations: 52.75 kB / 0.8288 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.02162, allocations: 20 kB / 0.8288 GB, free: 15.59 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.0001531/0.02177, allocations: 189.5 kB / 0.829 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.02183, allocations: 71.62 kB / 0.8291 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.0219, allocations: 62.58 kB / 0.8291 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.02191, allocations: 7.984 kB / 0.8291 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.02192, allocations: 5.188 kB / 0.8291 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02192, allocations: 0 / 0.8291 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.02281, allocations: 0.872 MB / 0.83 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02281, allocations: 0 / 0.83 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.02305, allocations: 87.89 kB / 0.8301 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.02306, allocations: 4 kB / 0.8301 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.02309, allocations: 16.44 kB / 0.8301 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.02309, allocations: 0 / 0.8301 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02309, allocations: 8.797 kB / 0.8301 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.02365, allocations: 0.5615 MB / 0.8307 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.02376, allocations: 87.53 kB / 0.8307 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.0238, allocations: 21.05 kB / 0.8308 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.02392, allocations: 19.98 kB / 0.8308 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.02399, allocations: 32.44 kB / 0.8308 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.02401, allocations: 13.09 kB / 0.8308 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002033/0.02422, allocations: 291 kB / 0.8311 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02422, allocations: 0 / 0.8311 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003222/0.02454, allocations: 152.4 kB / 0.8312 GB, free: 13.05 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 0.000112/0.02465, allocations: 113.7 kB / 0.8314 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.02506, allocations: 348.3 kB / 0.8317 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-06/0.02507, allocations: 0 / 0.8317 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02524, allocations: 143.4 kB / 0.8318 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.02574, allocations: 154.1 kB / 0.832 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.02761, allocations: 1.174 MB / 0.8331 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.02771, allocations: 129.9 kB / 0.8332 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.0279, 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 9.309e-05/0.02799, allocations: 40.48 kB / 0.8333 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of SimCode: time 1.272e-06/0.02799, allocations: 0 / 0.8333 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of Templates: time 0.009128/0.03712, allocations: 6.129 MB / 0.8393 GB, free: 4.84 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: 4.982791560236365]