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.001365/0.001365, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001507/0.001507, allocations: 169.3 kB / 24.28 MB, free: 280 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.9532/0.9532, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.885/1.885, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.283e-06/1.283e-06, allocations: 0 / 0.8115 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.941e-05, allocations: 6.938 kB / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003784/0.003803, allocations: 4.015 MB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005658, allocations: 1.358 MB / 0.8167 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.005962, allocations: 27.81 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.006246, allocations: 135.2 kB / 0.8169 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.006512, allocations: 190.8 kB / 0.8171 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.007118, allocations: 408.3 kB / 0.8174 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.007837, allocations: 0.9785 MB / 0.8184 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.008196, allocations: 290.6 kB / 0.8187 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.008582, allocations: 0.5002 MB / 0.8192 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.008801, allocations: 239.2 kB / 0.8194 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.008878, allocations: 92 kB / 0.8195 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.008947, allocations: 89.94 kB / 0.8196 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.009048, allocations: 183.3 kB / 0.8197 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.009224, allocations: 247.4 kB / 0.82 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.009733, allocations: 0.5876 MB / 0.8206 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.009736, allocations: 0 / 0.8206 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.009737, allocations: 1.688 kB / 0.8206 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.009744, allocations: 0 / 0.8206 GB, free: 8.801 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.001236/0.01098, allocations: 1.155 MB / 0.8217 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.01101, allocations: 12.88 kB / 0.8217 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.01116, allocations: 136.4 kB / 0.8218 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.01174, allocations: 0.5368 MB / 0.8223 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.01177, allocations: 46.84 kB / 0.8224 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.01183, allocations: 56.38 kB / 0.8224 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.01242, allocations: 0.52 MB / 0.823 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.01244, allocations: 192 / 0.823 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.01248, allocations: 28.36 kB / 0.823 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.01249, allocations: 19.94 kB / 0.823 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.01285, allocations: 221.1 kB / 0.8232 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.0145, allocations: 1.803 MB / 0.825 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.01488, allocations: 280.5 kB / 0.8252 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.01504, allocations: 125.1 kB / 0.8254 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01507, allocations: 12.5 kB / 0.8254 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.01531, allocations: 177.7 kB / 0.8255 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=49): time 1.803e-06/0.01532, allocations: 0 / 0.8255 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.0005404/0.01586, allocations: 384.7 kB / 0.8259 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.0159, allocations: 64.66 kB / 0.826 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.01621, allocations: 447.3 kB / 0.8264 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01624, allocations: 39.05 kB / 0.8264 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.01642, allocations: 379.6 kB / 0.8268 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.01651, allocations: 170.5 kB / 0.827 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.01661, allocations: 99.95 kB / 0.8271 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.01675, allocations: 0.5322 MB / 0.8276 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.01689, allocations: 107 kB / 0.8277 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.01708, allocations: 210.5 kB / 0.8279 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01739, allocations: 308.1 kB / 0.8282 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01739, allocations: 0 / 0.8282 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004481/0.01784, allocations: 451.2 kB / 0.8286 GB, free: 208 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.01787, allocations: 32.52 kB / 0.8286 GB, free: 172 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01787, allocations: 4.938 kB / 0.8286 GB, free: 168 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01789, allocations: 4 kB / 0.8286 GB, free: 164 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.01816, allocations: 112.9 kB / 0.8287 GB, free: 52 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.01817, allocations: 11.92 kB / 0.8288 GB, free: 40 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.01831, allocations: 56.77 kB / 0.8288 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.01834, allocations: 19.98 kB / 0.8288 GB, free: 15.96 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.0001354/0.01847, allocations: 183.7 kB / 0.829 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.01853, allocations: 71.67 kB / 0.8291 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.0186, allocations: 61.44 kB / 0.8291 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.0186, allocations: 10.78 kB / 0.8291 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01861, allocations: 3.938 kB / 0.8291 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01861, allocations: 4 kB / 0.8292 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.01946, allocations: 0.8703 MB / 0.83 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01946, allocations: 0 / 0.83 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.0197, allocations: 91.89 kB / 0.8301 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01971, allocations: 0 / 0.8301 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.01973, allocations: 12.66 kB / 0.8301 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.01973, allocations: 7.984 kB / 0.8301 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01973, allocations: 1.656 kB / 0.8301 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.02028, allocations: 0.5604 MB / 0.8307 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.02039, allocations: 91.75 kB / 0.8307 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.02043, allocations: 19.94 kB / 0.8308 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.02055, allocations: 15.98 kB / 0.8308 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.02061, allocations: 36.44 kB / 0.8308 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.02063, allocations: 19.98 kB / 0.8308 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001831/0.02082, allocations: 287 kB / 0.8311 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.02082, allocations: 0 / 0.8311 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002605/0.02108, allocations: 143.6 kB / 0.8312 GB, free: 13.43 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.281e-05/0.02117, allocations: 115.2 kB / 0.8314 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.02156, allocations: 348.3 kB / 0.8317 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.02156, allocations: 0 / 0.8317 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.02173, allocations: 151.4 kB / 0.8318 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.02217, allocations: 151.2 kB / 0.832 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.02371, allocations: 1.176 MB / 0.8331 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.0238, allocations: 133.9 kB / 0.8333 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.02394, allocations: 56.55 kB / 0.8333 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.02402, allocations: 40.5 kB / 0.8333 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of SimCode: time 1.182e-06/0.02402, allocations: 0 / 0.8333 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of Templates: time 0.007846/0.03187, allocations: 5.836 MB / 0.839 GB, free: 5.504 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.149499140912667]