Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001381/0.001381, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.002094/0.002094, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.558/1.558, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 67.89 kB / 1.059 GB, free: 456 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3586, allocations: 160.7 MB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006087/0.3647, allocations: 4.174 MB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.3674, allocations: 1.328 MB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.3681, allocations: 19.94 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.3685, allocations: 126.7 kB / 1.222 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.3691, allocations: 186.4 kB / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3704, allocations: 431 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.3719, allocations: 0.9671 MB / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007755/0.3727, allocations: 314.2 kB / 1.223 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006364/0.3734, allocations: 326.8 kB / 1.224 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.3739, allocations: 338.3 kB / 1.224 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.374, allocations: 92 kB / 1.224 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3742, allocations: 92 kB / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.3744, allocations: 175.5 kB / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004889/0.3749, allocations: 394 kB / 1.225 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3764, allocations: 1.062 MB / 1.226 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3764, allocations: 0 / 1.226 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3764, allocations: 4 kB / 1.226 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.3764, allocations: 0 / 1.226 GB, free: 5.367 MB / 0.9669 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.002361/0.3788, allocations: 1.1 MB / 1.227 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.3788, allocations: 8.031 kB / 1.227 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.379, allocations: 84.42 kB / 1.227 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3802, allocations: 0.5694 MB / 1.228 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.3802, allocations: 49.62 kB / 1.228 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3803, allocations: 56.38 kB / 1.228 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3817, allocations: 0.6079 MB / 1.228 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.3817, allocations: 7.891 kB / 1.228 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.3818, allocations: 28 kB / 1.228 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.3818, allocations: 12 kB / 1.228 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.3829, allocations: 461 kB / 1.229 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.3861, allocations: 2.001 MB / 1.231 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/0.3871, allocations: 428.9 kB / 1.231 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.3876, allocations: 222.1 kB / 1.231 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.3876, allocations: 4.438 kB / 1.231 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/0.3882, allocations: 265.2 kB / 1.232 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=49): time 2.505e-06/0.3882, allocations: 0 / 1.232 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.001416/0.3896, allocations: 0.5847 MB / 1.232 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3896, allocations: 59.83 kB / 1.232 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.3902, allocations: 446.7 kB / 1.233 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.3903, allocations: 33.7 kB / 1.233 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.3906, allocations: 328.9 kB / 1.233 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3907, allocations: 170.5 kB / 1.233 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3909, allocations: 94.25 kB / 1.233 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3911, allocations: 366.8 kB / 1.234 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.3915, allocations: 165 kB / 1.234 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.392, allocations: 249.8 kB / 1.234 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/0.3928, allocations: 456 kB / 1.234 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.3928, allocations: 4 kB / 1.234 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00116/0.394, allocations: 0.5667 MB / 1.235 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.394, allocations: 33.64 kB / 1.235 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3941, allocations: 4 kB / 1.235 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3941, allocations: 4 kB / 1.235 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.3946, allocations: 111.8 kB / 1.235 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.3946, allocations: 7.984 kB / 1.235 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.395, allocations: 63.59 kB / 1.235 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.395, allocations: 20 kB / 1.235 GB, free: 11.43 MB / 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 (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.00029/0.3953, allocations: 213.8 kB / 1.235 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.3954, allocations: 59.56 kB / 1.235 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.3955, allocations: 73.52 kB / 1.236 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3955, allocations: 4 kB / 1.236 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3956, allocations: 0 / 1.236 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3956, allocations: 3.984 kB / 1.236 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.3977, allocations: 1.174 MB / 1.237 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3977, allocations: 0 / 1.237 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.3982, allocations: 95.89 kB / 1.237 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.3982, allocations: 4 kB / 1.237 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.3982, allocations: 15.98 kB / 1.237 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3982, allocations: 0 / 1.237 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3982, allocations: 0 / 1.237 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.3997, allocations: 0.7694 MB / 1.238 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.3999, allocations: 176.6 kB / 1.238 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.4, allocations: 8 kB / 1.238 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.4003, allocations: 31.97 kB / 1.238 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4004, allocations: 40.33 kB / 1.238 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.4005, allocations: 8 kB / 1.238 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004153/0.4009, allocations: 310.9 kB / 1.238 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4009, allocations: 0 / 1.238 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004901/0.4014, allocations: 147.6 kB / 1.238 GB, free: 8.227 MB / 0.9825 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.0001753/0.4015, allocations: 111.2 kB / 1.238 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009747/0.4025, allocations: 461 kB / 1.239 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4025, allocations: 0 / 1.239 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.403, allocations: 206.4 kB / 1.239 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.4037, allocations: 164.4 kB / 1.239 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.4066, allocations: 1.363 MB / 1.24 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.4072, allocations: 0.886 MB / 1.241 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.4075, allocations: 64.58 kB / 1.241 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4076, allocations: 43.42 kB / 1.241 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of SimCode: time 1.212e-06/0.4076, allocations: 0 / 1.241 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.01305/0.4207, allocations: 6.169 MB / 1.247 GB, free: 14.79 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.723926909267902]