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.0008257/0.0008257, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001924, allocations: 449.7 kB / 10.37 MB, free: 328 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.001612/0.001612, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.003409, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.977/0.977, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, allocations: 378.2 MB / 0.6077 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5338/2.388, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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=5007,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=5007,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.545e-06/2.545e-06, allocations: 0 / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.309e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007632/0.007665, allocations: 4.021 MB / 0.7332 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.01129, allocations: 1.41 MB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.01222, allocations: 29.53 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.01263, allocations: 130.7 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.01334, allocations: 190.2 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.01446, allocations: 415.3 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.01591, allocations: 0.9636 MB / 0.7363 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.01686, allocations: 302.6 kB / 0.7366 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.0179, allocations: 0.5633 MB / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.01839, allocations: 235.2 kB / 0.7373 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.01858, allocations: 88.5 kB / 0.7374 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.01872, allocations: 85.12 kB / 0.7375 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.01885, allocations: 135.6 kB / 0.7376 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.01911, allocations: 207.5 kB / 0.7378 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008811/0.02, allocations: 0.526 MB / 0.7383 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.751e-05/0.02002, allocations: 4 kB / 0.7383 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.755e-06/0.02003, allocations: 0.5312 kB / 0.7383 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.749e-05/0.02007, allocations: 0.9375 kB / 0.7383 GB, free: 11.29 MB / 0.7136 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.00211/0.02218, allocations: 1.109 MB / 0.7394 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.02223, allocations: 12.03 kB / 0.7394 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.02243, allocations: 100.8 kB / 0.7395 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.02329, allocations: 431.8 kB / 0.7399 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.02334, allocations: 42.41 kB / 0.74 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02345, allocations: 60.38 kB / 0.74 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009094/0.02436, allocations: 490.8 kB / 0.7405 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.02439, allocations: 4.984 kB / 0.7405 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.02445, allocations: 24.38 kB / 0.7405 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.02448, allocations: 19.94 kB / 0.7406 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.02489, allocations: 159.5 kB / 0.7407 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.02742, allocations: 1.295 MB / 0.742 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.02789, allocations: 224 kB / 0.7422 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.02806, allocations: 103.3 kB / 0.7423 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.0281, allocations: 9.25 kB / 0.7423 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.02842, allocations: 162.7 kB / 0.7425 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=49): time 5.039e-06/0.02843, allocations: 0.75 kB / 0.7425 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.000489/0.02892, allocations: 263.3 kB / 0.7427 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.02897, allocations: 59.91 kB / 0.7428 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.02936, allocations: 375.2 kB / 0.7431 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.02941, allocations: 37.7 kB / 0.7432 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.02994, allocations: 274.9 kB / 0.7434 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.03009, allocations: 178.5 kB / 0.7436 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.03022, allocations: 96.73 kB / 0.7437 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.03037, allocations: 370.6 kB / 0.744 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.03052, allocations: 78.98 kB / 0.7441 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.0307, allocations: 172.3 kB / 0.7443 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.03102, allocations: 253.8 kB / 0.7445 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.03103, allocations: 8 kB / 0.7445 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005032/0.03154, allocations: 320.1 kB / 0.7448 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.03159, allocations: 40.45 kB / 0.7449 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.0316, allocations: 4 kB / 0.7449 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.03161, allocations: 4 kB / 0.7449 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.03215, allocations: 147 kB / 0.745 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.03216, allocations: 8 kB / 0.745 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.03243, allocations: 51.67 kB / 0.7451 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.03246, allocations: 18.23 kB / 0.7451 GB, free: 4.102 MB / 0.7136 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.0001709/0.03264, allocations: 142.6 kB / 0.7452 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.03271, allocations: 47.95 kB / 0.7453 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.03281, allocations: 65.44 kB / 0.7453 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.03282, allocations: 6.438 kB / 0.7453 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.03283, allocations: 3.938 kB / 0.7453 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.03284, allocations: 0 / 0.7453 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.03378, allocations: 0.572 MB / 0.7459 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.03379, allocations: 0 / 0.7459 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.03423, allocations: 118.9 kB / 0.746 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.03438, allocations: 71.42 kB / 0.7461 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.03438, allocations: 0.5 kB / 0.7461 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.03441, allocations: 14.56 kB / 0.7461 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.03442, allocations: 0 / 0.7461 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03442, allocations: 4 kB / 0.7461 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.03496, allocations: 402.8 kB / 0.7465 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.03502, allocations: 12 kB / 0.7465 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.03522, allocations: 16.7 kB / 0.7465 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.0353, allocations: 40.42 kB / 0.7466 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.03532, allocations: 5.5 kB / 0.7466 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001925/0.03551, allocations: 164.7 kB / 0.7467 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.03551, allocations: 3.938 kB / 0.7467 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004652/0.03598, allocations: 143.6 kB / 0.7469 GB, free: 2.254 MB / 0.7136 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.0001391/0.03612, allocations: 94.39 kB / 0.7469 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.03666, allocations: 302.9 kB / 0.7472 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.047e-05/0.03669, allocations: 15.92 kB / 0.7472 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.03683, allocations: 121.2 kB / 0.7474 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.03732, allocations: 189.4 kB / 0.7475 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.04168, allocations: 1.141 MB / 0.7487 GB, free: 368 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.04177, allocations: 141.9 kB / 0.7488 GB, free: 204 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.04197, allocations: 63 kB / 0.7489 GB, free: 144 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.04221, allocations: 161.3 kB / 0.749 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of SimCode: time 1.774e-06/0.04221, allocations: 2.094 kB / 0.749 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.009911/0.05212, allocations: 6.685 MB / 0.7555 GB, free: 9.582 MB / 0.7292 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset/Buildings_12_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.138989074155688]