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.001931/0.001931, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002523/0.002523, allocations: 211.3 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.685/1.685, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.517/3.517, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 79.83 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3858, allocations: 176.1 MB / 1.325 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005904/0.3917, allocations: 3.765 MB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002687/0.3943, allocations: 1.321 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.3947, allocations: 31.81 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.3951, allocations: 130.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.3954, allocations: 182.4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.3963, allocations: 417.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.3974, allocations: 0.9516 MB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005377/0.3979, allocations: 286.6 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.3984, allocations: 350.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.3987, allocations: 294.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3988, allocations: 92 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.399, allocations: 92 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3991, allocations: 179.4 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.3994, allocations: 306.5 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.4006, allocations: 1.066 MB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4006, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4006, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.4006, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 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.001971/0.4025, allocations: 1.091 MB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4026, allocations: 8.031 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.4027, allocations: 88.42 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.4037, allocations: 0.496 MB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.4037, allocations: 45.69 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4038, allocations: 60.38 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.405, allocations: 0.6697 MB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.405, allocations: 0 / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.4051, allocations: 24 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.4051, allocations: 12 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4061, allocations: 461 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.409, allocations: 1.702 MB / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.41, allocations: 425.2 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.4104, allocations: 226.6 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.4105, allocations: 16.38 kB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005661/0.411, allocations: 253.4 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.411, allocations: 0 / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001365/0.4124, allocations: 0.5884 MB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4124, allocations: 59.84 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.413, allocations: 434.5 kB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.413, allocations: 33.7 kB / 1.341 GB, free: 1.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.4133, allocations: 336.8 kB / 1.341 GB, free: 1.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.4135, allocations: 174.5 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4136, allocations: 98.28 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4138, allocations: 362.8 kB / 1.342 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.4142, allocations: 194.9 kB / 1.342 GB, free: 412 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.4147, allocations: 284.3 kB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/0.4155, allocations: 451 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4155, allocations: 7.922 kB / 1.343 GB, free: 15.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001113/0.4167, allocations: 0.5786 MB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.4167, allocations: 37.94 kB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4167, allocations: 11.94 kB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4167, allocations: 4 kB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4173, allocations: 107.9 kB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.4173, allocations: 7.938 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.4176, allocations: 63.61 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.4176, allocations: 19.98 kB / 1.344 GB, free: 14.76 MB / 1.045 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.4179, allocations: 207.5 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.418, allocations: 55.67 kB / 1.344 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.4182, allocations: 65.38 kB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4182, allocations: 11.94 kB / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4182, allocations: 0 / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4182, allocations: 0 / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4199, allocations: 0.9984 MB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4199, allocations: 3.938 kB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.4204, allocations: 95.88 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.4204, allocations: 4 kB / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.4204, allocations: 12 kB / 1.345 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4204, allocations: 3.938 kB / 1.345 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4204, allocations: 3.938 kB / 1.345 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.4218, allocations: 0.7652 MB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.422, allocations: 95.44 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.422, allocations: 12 kB / 1.346 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.4223, allocations: 27.97 kB / 1.346 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.4224, allocations: 32.38 kB / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.4224, allocations: 15.98 kB / 1.346 GB, free: 12.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003511/0.4228, allocations: 295.1 kB / 1.346 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4228, allocations: 0 / 1.346 GB, free: 12.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004461/0.4232, allocations: 147.6 kB / 1.347 GB, free: 11.87 MB / 1.045 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.000144/0.4234, allocations: 119.1 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000977/0.4244, allocations: 482.4 kB / 1.347 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4244, allocations: 0.5 kB / 1.347 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.4248, allocations: 210.3 kB / 1.347 GB, free: 11.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.4255, allocations: 154.3 kB / 1.347 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.4283, allocations: 1.349 MB / 1.349 GB, free: 9.52 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4286, allocations: 292.7 kB / 1.349 GB, free: 9.207 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.4289, allocations: 60.53 kB / 1.349 GB, free: 9.145 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.429, allocations: 43.44 kB / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.429, allocations: 0 / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of Templates: time 0.01397/0.443, allocations: 6.541 MB / 1.356 GB, free: 2.711 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.062658749520779]