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.002194/0.002194, allocations: 107.8 kB / 16.45 MB, free: 6.02 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.002697/0.002697, allocations: 208.3 kB / 19.43 MB, free: 3.516 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.455/3.455, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 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.002174/0.002174, allocations: 69.45 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4808, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007234/0.4881, allocations: 4.164 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.4917, allocations: 1.364 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.4923, allocations: 31.75 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.4928, allocations: 130.7 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.4932, allocations: 182.4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4943, allocations: 421.7 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.4954, allocations: 0.9554 MB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.496, allocations: 306.2 kB / 1.329 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.4964, allocations: 342.7 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.4969, allocations: 338.3 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.497, allocations: 92 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4971, allocations: 92 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.4973, allocations: 171.5 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.4976, allocations: 398 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.4989, allocations: 1.058 MB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4989, allocations: 0 / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4989, allocations: 0 / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.4989, allocations: 0 / 1.331 GB, free: 8.75 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.002155/0.5011, allocations: 1.111 MB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5011, allocations: 8.031 kB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.5013, allocations: 88.42 kB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5024, allocations: 0.5655 MB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.5025, allocations: 45.62 kB / 1.333 GB, free: 6.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5026, allocations: 60.38 kB / 1.333 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.5038, allocations: 0.6001 MB / 1.333 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.5038, allocations: 4 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.5039, allocations: 27.98 kB / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5039, allocations: 12 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5049, allocations: 461 kB / 1.334 GB, free: 5.664 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.5081, allocations: 1.997 MB / 1.336 GB, free: 3.594 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.509, allocations: 432.8 kB / 1.336 GB, free: 3.156 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.5095, allocations: 234 kB / 1.336 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.5096, allocations: 4.438 kB / 1.336 GB, free: 2.922 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/0.5101, allocations: 265.2 kB / 1.337 GB, free: 2.652 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.5102, allocations: 4 kB / 1.337 GB, free: 2.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001424/0.5116, allocations: 0.5846 MB / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.5116, allocations: 55.84 kB / 1.337 GB, free: 1.988 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.5122, allocations: 442.8 kB / 1.338 GB, free: 1.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.5123, allocations: 29.7 kB / 1.338 GB, free: 1.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.5126, allocations: 348.8 kB / 1.338 GB, free: 1.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.5127, allocations: 162.5 kB / 1.338 GB, free: 1.004 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.5129, allocations: 98.23 kB / 1.338 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5131, allocations: 362.8 kB / 1.339 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.5135, allocations: 161 kB / 1.339 GB, free: 392 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.514, allocations: 253.8 kB / 1.339 GB, free: 108 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.5148, allocations: 452 kB / 1.34 GB, free: 15.63 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5148, allocations: 4 kB / 1.34 GB, free: 15.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001126/0.516, allocations: 0.5666 MB / 1.34 GB, free: 15.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.516, allocations: 35.67 kB / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.516, allocations: 4 kB / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.5161, allocations: 4 kB / 1.34 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.5166, allocations: 116.1 kB / 1.34 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.5166, allocations: 8 kB / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.5169, allocations: 63.59 kB / 1.34 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.517, allocations: 20 kB / 1.34 GB, free: 14.8 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 (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.0002865/0.5172, allocations: 213.7 kB / 1.341 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.5173, allocations: 63.59 kB / 1.341 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.5175, allocations: 61.59 kB / 1.341 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5175, allocations: 4 kB / 1.341 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5175, allocations: 0 / 1.341 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5175, allocations: 3.984 kB / 1.341 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.5194, allocations: 1.178 MB / 1.342 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5194, allocations: 0 / 1.342 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.5199, allocations: 103.8 kB / 1.342 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5199, allocations: 4 kB / 1.342 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.5199, allocations: 12 kB / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5199, allocations: 0 / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5199, allocations: 0 / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.5214, allocations: 0.7616 MB / 1.343 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.5216, allocations: 176.6 kB / 1.343 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.5216, allocations: 12 kB / 1.343 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.5219, allocations: 23.98 kB / 1.343 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.522, allocations: 40.31 kB / 1.343 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.5221, allocations: 12 kB / 1.343 GB, free: 12.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004029/0.5225, allocations: 306.9 kB / 1.343 GB, free: 11.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5225, allocations: 4 kB / 1.343 GB, free: 11.74 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004948/0.523, allocations: 139.7 kB / 1.343 GB, free: 11.61 MB / 1.045 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.0001681/0.5231, allocations: 115.2 kB / 1.343 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009852/0.5241, allocations: 461.5 kB / 1.344 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5241, allocations: 0 / 1.344 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.5246, allocations: 210.3 kB / 1.344 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.5254, allocations: 163.1 kB / 1.344 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.5283, allocations: 1.363 MB / 1.346 GB, free: 9.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.5288, allocations: 0.8899 MB / 1.346 GB, free: 8.352 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.5291, allocations: 60.58 kB / 1.347 GB, free: 8.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.5292, allocations: 51.42 kB / 1.347 GB, free: 8.242 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/0.5292, allocations: 0 / 1.347 GB, free: 8.242 MB / 1.045 GB Notification: Performance of Templates: time 0.01348/0.5427, allocations: 6.075 MB / 1.352 GB, free: 2.258 MB / 1.045 GB " [Timeout remaining time 299] 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.188073149882257]