Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001177/0.001177, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002805, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001052/0.001052, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009433/0.001995, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9718/0.9718, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09768/1.069, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.332/2.332, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2511/2.583, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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=5007,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.854e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005542/0.005571, allocations: 4.014 MB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.008039, allocations: 1.413 MB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.008347, allocations: 31.81 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.00864, allocations: 134.6 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.008987, allocations: 190.3 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.00968, allocations: 415.3 kB / 0.8243 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.01058, allocations: 0.9591 MB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.01106, allocations: 298.6 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.01171, allocations: 0.5625 MB / 0.8261 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.01201, allocations: 235.2 kB / 0.8263 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.01213, allocations: 88 kB / 0.8264 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.01223, allocations: 88 kB / 0.8265 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.01236, allocations: 143.5 kB / 0.8266 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.01259, allocations: 203.6 kB / 0.8268 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.01321, allocations: 0.5215 MB / 0.8273 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.005e-05/0.01323, allocations: 3.984 kB / 0.8273 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01323, allocations: 0 / 0.8273 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.01326, allocations: 3.938 kB / 0.8273 GB, free: 9.602 MB / 0.8073 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.001542/0.0148, allocations: 1.108 MB / 0.8284 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01484, allocations: 8.625 kB / 0.8284 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.01498, allocations: 108.8 kB / 0.8285 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.01565, allocations: 417.3 kB / 0.8289 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.0157, allocations: 45.69 kB / 0.8289 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.01578, allocations: 60.38 kB / 0.829 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.01642, allocations: 493.9 kB / 0.8295 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.01644, allocations: 4.188 kB / 0.8295 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.01648, allocations: 24.38 kB / 0.8295 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.0165, allocations: 15.94 kB / 0.8295 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.0168, allocations: 162.3 kB / 0.8297 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.0189, allocations: 1.306 MB / 0.8309 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.01929, allocations: 229.4 kB / 0.8312 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.01943, allocations: 98.25 kB / 0.8313 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.01947, allocations: 12.48 kB / 0.8313 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.01973, allocations: 166.2 kB / 0.8314 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.01974, allocations: 4 kB / 0.8314 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=49): time 0.0004497/0.02019, allocations: 262 kB / 0.8317 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.02023, allocations: 55.91 kB / 0.8317 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.02054, allocations: 379.2 kB / 0.8321 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.02058, allocations: 33.7 kB / 0.8321 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.02075, allocations: 278 kB / 0.8324 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.02086, allocations: 174.5 kB / 0.8326 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.02099, allocations: 98.28 kB / 0.8327 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.02112, allocations: 378.6 kB / 0.833 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.02124, allocations: 74.98 kB / 0.8331 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.0214, allocations: 160.4 kB / 0.8332 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.02168, allocations: 259.1 kB / 0.8335 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02168, allocations: 0 / 0.8335 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004223/0.0221, allocations: 325.7 kB / 0.8338 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.02215, allocations: 37.69 kB / 0.8338 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02216, allocations: 3.938 kB / 0.8338 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.02217, allocations: 4 kB / 0.8338 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.02265, allocations: 144 kB / 0.834 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.02265, allocations: 7.938 kB / 0.834 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.02285, allocations: 55.67 kB / 0.834 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.02288, allocations: 16 kB / 0.8341 GB, free: 2.375 MB / 0.8073 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.0001453/0.02303, allocations: 139.7 kB / 0.8342 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.02309, allocations: 51.94 kB / 0.8342 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.02319, allocations: 61.45 kB / 0.8343 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.0232, allocations: 12 kB / 0.8343 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.0232, allocations: 3.938 kB / 0.8343 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.02321, allocations: 3.984 kB / 0.8343 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.02403, allocations: 0.572 MB / 0.8349 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02403, allocations: 0 / 0.8349 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.02446, allocations: 122.4 kB / 0.835 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.02459, allocations: 59.53 kB / 0.835 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.02459, allocations: 4 kB / 0.8351 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.02462, allocations: 12 kB / 0.8351 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.02462, allocations: 4 kB / 0.8351 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02462, allocations: 0 / 0.8351 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.02513, allocations: 402.7 kB / 0.8355 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.02518, allocations: 16.06 kB / 0.8355 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.02536, allocations: 19.98 kB / 0.8355 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.02543, allocations: 36.42 kB / 0.8355 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.02546, allocations: 12 kB / 0.8355 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001627/0.02562, allocations: 160.7 kB / 0.8357 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.02562, allocations: 4 kB / 0.8357 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003892/0.02601, allocations: 151.5 kB / 0.8358 GB, free: 0.5078 MB / 0.8073 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.0001195/0.02613, allocations: 93.55 kB / 0.8359 GB, free: 420 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.02652, allocations: 301.5 kB / 0.8362 GB, free: 100 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/0.02653, allocations: 8 kB / 0.8362 GB, free: 92 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.02672, allocations: 121.2 kB / 0.8363 GB, free: 15.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.02728, allocations: 182.2 kB / 0.8365 GB, free: 15.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.03132, allocations: 1.15 MB / 0.8376 GB, free: 14.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.821e-05/0.03141, allocations: 141.8 kB / 0.8378 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.0316, allocations: 60.55 kB / 0.8378 GB, free: 14.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.03181, allocations: 165.2 kB / 0.838 GB, free: 14.23 MB / 0.823 GB Notification: Performance of SimCode: time 7.21e-07/0.03181, allocations: 0 / 0.838 GB, free: 14.23 MB / 0.823 GB Notification: Performance of Templates: time 0.0208/0.05261, allocations: 6.677 MB / 0.8445 GB, free: 7.711 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.ref.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.316926854662597]