Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7634 GB, free: 15.31 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.89 kB / 1.108 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005642/1.05, allocations: 4.162 MB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00248/1.053, allocations: 1.316 MB / 1.278 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/1.053, allocations: 28.91 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003555/1.053, allocations: 128.6 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/1.054, allocations: 186 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/1.055, allocations: 432.8 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001427/1.056, allocations: 0.9568 MB / 1.279 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/1.057, allocations: 305.6 kB / 1.28 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/1.057, allocations: 333.8 kB / 1.28 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/1.058, allocations: 337.6 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/1.058, allocations: 90.53 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/1.058, allocations: 91.16 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/1.058, allocations: 183.8 kB / 1.281 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004312/1.059, allocations: 392.2 kB / 1.281 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/1.061, allocations: 1.063 MB / 1.282 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.061, allocations: 1.688 kB / 1.282 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.575e-06/1.061, allocations: 0 / 1.282 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.442e-05/1.061, allocations: 0 / 1.282 GB, free: 1.574 MB / 0.9981 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.002064/1.063, allocations: 1.094 MB / 1.283 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.063, allocations: 17.62 kB / 1.283 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/1.063, allocations: 91.72 kB / 1.283 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/1.064, allocations: 0.5612 MB / 1.284 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/1.064, allocations: 44.08 kB / 1.284 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/1.064, allocations: 66.59 kB / 1.284 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.065, allocations: 0.6094 MB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.065, allocations: 0 / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/1.065, allocations: 27.38 kB / 1.285 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/1.065, allocations: 15.62 kB / 1.285 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/1.066, allocations: 458.3 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/1.069, allocations: 1.993 MB / 1.287 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009385/1.07, allocations: 418.9 kB / 1.287 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/1.071, allocations: 233.1 kB / 1.288 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/1.071, allocations: 9.078 kB / 1.288 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/1.071, allocations: 257.2 kB / 1.288 GB, free: 14.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.215e-06/1.071, allocations: 0 / 1.288 GB, free: 14.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001385/1.073, allocations: 0.5941 MB / 1.288 GB, free: 13.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/1.073, allocations: 58.5 kB / 1.288 GB, free: 13.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/1.073, allocations: 449.1 kB / 1.289 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/1.073, allocations: 37.92 kB / 1.289 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/1.074, allocations: 325.1 kB / 1.289 GB, free: 13.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/1.074, allocations: 173 kB / 1.289 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.074, allocations: 99.3 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.074, allocations: 362.9 kB / 1.29 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/1.074, allocations: 166.6 kB / 1.29 GB, free: 12.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/1.075, allocations: 251.2 kB / 1.29 GB, free: 12.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/1.076, allocations: 451.2 kB / 1.291 GB, free: 12.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.076, allocations: 1.062 kB / 1.291 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001123/1.077, allocations: 0.5614 MB / 1.291 GB, free: 12.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/1.077, allocations: 40.81 kB / 1.291 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.077, allocations: 2.344 kB / 1.291 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.077, allocations: 7.156 kB / 1.291 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/1.078, allocations: 114.9 kB / 1.291 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.078, allocations: 5.391 kB / 1.291 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/1.078, allocations: 63.28 kB / 1.291 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/1.078, allocations: 15.52 kB / 1.291 GB, free: 11.95 MB / 1.014 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002859/1.078, allocations: 207.9 kB / 1.292 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/1.078, allocations: 62.16 kB / 1.292 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/1.078, allocations: 65.67 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.078, allocations: 4.125 kB / 1.292 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.078, allocations: 11.06 kB / 1.292 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.079, allocations: 2.016 kB / 1.292 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.08, allocations: 1.175 MB / 1.293 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.08, allocations: 0 / 1.293 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/1.081, allocations: 93.64 kB / 1.293 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.081, allocations: 2.625 kB / 1.293 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/1.081, allocations: 16.88 kB / 1.293 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.081, allocations: 1.281 kB / 1.293 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.081, allocations: 0.7031 kB / 1.293 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/1.082, allocations: 0.7665 MB / 1.294 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/1.083, allocations: 168.8 kB / 1.294 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/1.083, allocations: 11.19 kB / 1.294 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/1.083, allocations: 25.62 kB / 1.294 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.083, allocations: 37.38 kB / 1.294 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/1.083, allocations: 14.69 kB / 1.294 GB, free: 10.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003999/1.083, allocations: 309.5 kB / 1.294 GB, free: 10.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.083, allocations: 0 / 1.294 GB, free: 10.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004823/1.084, allocations: 145.2 kB / 1.294 GB, free: 10.21 MB / 1.014 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 0.0001519/1.084, allocations: 121.7 kB / 1.295 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009479/1.085, allocations: 463.5 kB / 1.295 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.085, allocations: 0.5 kB / 1.295 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/1.085, allocations: 212.6 kB / 1.295 GB, free: 9.824 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/1.086, allocations: 165.2 kB / 1.295 GB, free: 9.762 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/1.089, allocations: 1.391 MB / 1.297 GB, free: 8.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/1.09, allocations: 0.8891 MB / 1.298 GB, free: 8.223 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/1.09, allocations: 51.28 kB / 1.298 GB, free: 8.207 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.09, allocations: 3.938 kB / 1.298 GB, free: 8.203 MB / 1.014 GB Notification: Performance of Templates: time 0.01582/1.106, allocations: 7.688 MB / 1.305 GB, free: 7.262 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches