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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 204.2 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.002858/0.002858, allocations: 63.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7612, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006187/0.7674, allocations: 4.18 MB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.7702, allocations: 1.336 MB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.7708, allocations: 23.88 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.7712, allocations: 126.7 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.7718, allocations: 182.4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.7729, allocations: 434.8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.7742, allocations: 0.9554 MB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.7748, allocations: 320.9 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.7753, allocations: 334.7 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.7758, allocations: 338.4 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.776, allocations: 92 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.7761, allocations: 88 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.7763, allocations: 171.4 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.7767, allocations: 398.1 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.778, allocations: 1.066 MB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.778, allocations: 4 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.778, allocations: 0 / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.778, allocations: 4 kB / 1.284 GB, free: 10.36 MB / 0.9825 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.002366/0.7804, allocations: 1.151 MB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.7804, allocations: 8.031 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.7806, allocations: 92.38 kB / 1.285 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.7816, allocations: 0.5616 MB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.7817, allocations: 45.69 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.7818, allocations: 64.33 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.783, allocations: 0.6039 MB / 1.286 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.783, allocations: 0 / 1.286 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.7831, allocations: 28 kB / 1.286 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.7831, allocations: 12 kB / 1.286 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.7842, allocations: 461 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.7875, allocations: 2.001 MB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/0.7884, allocations: 422.1 kB / 1.289 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.7889, allocations: 226.6 kB / 1.289 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.789, allocations: 4.438 kB / 1.289 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/0.7895, allocations: 261.3 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=49): time 2.354e-06/0.7895, allocations: 0 / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.001449/0.791, allocations: 0.5892 MB / 1.29 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.7911, allocations: 59.84 kB / 1.29 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.7916, allocations: 453.9 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.7917, allocations: 29.7 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.792, allocations: 328.8 kB / 1.291 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.7921, allocations: 174.5 kB / 1.291 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.7923, allocations: 98.2 kB / 1.291 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.7925, allocations: 362.8 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.7929, allocations: 169 kB / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.7934, allocations: 245.8 kB / 1.292 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/0.7943, allocations: 460 kB / 1.292 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7943, allocations: 7.938 kB / 1.292 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001152/0.7954, allocations: 0.5551 MB / 1.293 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.7955, allocations: 43.52 kB / 1.293 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7955, allocations: 4 kB / 1.293 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.7955, allocations: 4 kB / 1.293 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.796, allocations: 111.8 kB / 1.293 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.7961, allocations: 11.98 kB / 1.293 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.7964, allocations: 51.66 kB / 1.293 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.7965, allocations: 23.94 kB / 1.293 GB, free: 388 kB / 0.9825 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.0002823/0.7967, allocations: 209.8 kB / 1.293 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.7968, allocations: 59.56 kB / 1.293 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.797, allocations: 61.59 kB / 1.293 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.797, allocations: 4 kB / 1.293 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.797, allocations: 0 / 1.293 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.797, allocations: 3.984 kB / 1.293 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.7991, allocations: 1.182 MB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7991, allocations: 0 / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.7995, allocations: 91.88 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.7996, allocations: 8 kB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.7996, allocations: 12 kB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7996, allocations: 0 / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7996, allocations: 0 / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.8011, allocations: 0.7654 MB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.8013, allocations: 168.7 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.8014, allocations: 19.97 kB / 1.296 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.8017, allocations: 23.98 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.8018, allocations: 36.39 kB / 1.296 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.8018, allocations: 15.98 kB / 1.296 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003985/0.8022, allocations: 310.8 kB / 1.296 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8022, allocations: 0 / 1.296 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004801/0.8027, allocations: 147.6 kB / 1.296 GB, free: 13.18 MB / 0.9981 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.0001517/0.8028, allocations: 119.1 kB / 1.296 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.8038, allocations: 461 kB / 1.297 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8039, allocations: 0 / 1.297 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.8043, allocations: 206.3 kB / 1.297 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.8051, allocations: 155.8 kB / 1.297 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.808, allocations: 1.359 MB / 1.298 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.8086, allocations: 0.8899 MB / 1.299 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.8088, allocations: 64.58 kB / 1.299 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.809, allocations: 39.44 kB / 1.299 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.809, allocations: 0 / 1.299 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Templates: time 0.01321/0.8222, allocations: 6.145 MB / 1.305 GB, free: 3.773 MB / 0.9981 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 -s gbode -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_2/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 [Calling sys.exit(0), Time elapsed: 9.261989200953394]