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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 250 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.731 GB, free: 13.96 MB / 0.5762 GB [Timeout remaining time 86] 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.001974/0.001974, allocations: 63.89 kB / 1.06 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4043, allocations: 160.7 MB / 1.217 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006572/0.4109, allocations: 4.144 MB / 1.221 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.4142, allocations: 1.328 MB / 1.222 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.4147, allocations: 23.94 kB / 1.222 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.4151, allocations: 126.7 kB / 1.222 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.4155, allocations: 182.4 kB / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4166, allocations: 434.9 kB / 1.223 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.4178, allocations: 0.9593 MB / 1.224 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.4184, allocations: 310.2 kB / 1.224 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.4188, allocations: 330.8 kB / 1.224 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.4192, allocations: 346.3 kB / 1.224 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.4194, allocations: 88 kB / 1.225 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.4195, allocations: 92 kB / 1.225 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.4198, allocations: 175.5 kB / 1.225 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.4202, allocations: 394 kB / 1.225 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.4217, allocations: 1.058 MB / 1.226 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.4218, allocations: 4 kB / 1.226 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4218, allocations: 0 / 1.226 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.4218, allocations: 0 / 1.226 GB, free: 5.551 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.002241/0.424, allocations: 1.1 MB / 1.227 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4241, allocations: 11.98 kB / 1.227 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.4243, allocations: 88.42 kB / 1.227 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4254, allocations: 0.5694 MB / 1.228 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.4254, allocations: 45.69 kB / 1.228 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.4255, allocations: 60.31 kB / 1.228 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4268, allocations: 0.6117 MB / 1.229 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4268, allocations: 15.92 kB / 1.229 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.4268, allocations: 24 kB / 1.229 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.4269, allocations: 12 kB / 1.229 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4279, allocations: 461 kB / 1.229 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.4311, allocations: 2.009 MB / 1.231 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4322, allocations: 417 kB / 1.231 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.4326, allocations: 222.1 kB / 1.232 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.4327, allocations: 4.438 kB / 1.232 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/0.4333, allocations: 261.3 kB / 1.232 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.4333, allocations: 4 kB / 1.232 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.001429/0.4348, allocations: 0.5807 MB / 1.233 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.4348, allocations: 59.84 kB / 1.233 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.4354, allocations: 450.7 kB / 1.233 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.4355, allocations: 37.7 kB / 1.233 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.4358, allocations: 324.9 kB / 1.233 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4359, allocations: 174.5 kB / 1.234 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.4361, allocations: 90.25 kB / 1.234 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002481/0.4363, allocations: 366.8 kB / 1.234 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.4368, allocations: 161 kB / 1.234 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.4372, allocations: 257.8 kB / 1.234 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/0.4381, allocations: 456 kB / 1.235 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4381, allocations: 0 / 1.235 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001154/0.4393, allocations: 0.5588 MB / 1.235 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.4393, allocations: 41.62 kB / 1.235 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.4394, allocations: 256 / 1.235 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.4394, allocations: 8 kB / 1.235 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.4399, allocations: 115.8 kB / 1.236 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4399, allocations: 4 kB / 1.236 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.4403, allocations: 59.61 kB / 1.236 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.4403, allocations: 19.98 kB / 1.236 GB, free: 11.61 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.0003241/0.4406, allocations: 211.7 kB / 1.236 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.4408, allocations: 67.56 kB / 1.236 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.4409, allocations: 65.58 kB / 1.236 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.4409, allocations: 4 kB / 1.236 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4409, allocations: 0 / 1.236 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4409, allocations: 0 / 1.236 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4429, allocations: 1.174 MB / 1.237 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4429, allocations: 4 kB / 1.237 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.4434, allocations: 107.7 kB / 1.237 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4434, allocations: 0 / 1.237 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4435, allocations: 12 kB / 1.237 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4435, allocations: 3.984 kB / 1.237 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4435, allocations: 4 kB / 1.237 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.4449, allocations: 0.7616 MB / 1.238 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.4452, allocations: 172.6 kB / 1.238 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.4452, allocations: 12 kB / 1.238 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.4455, allocations: 24.09 kB / 1.238 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4456, allocations: 36.39 kB / 1.238 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.4457, allocations: 20 kB / 1.238 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005094/0.4462, allocations: 306.9 kB / 1.238 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4462, allocations: 0 / 1.238 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005276/0.4467, allocations: 151.5 kB / 1.239 GB, free: 8.402 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.0001786/0.4469, allocations: 110.9 kB / 1.239 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.4479, allocations: 469 kB / 1.239 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4479, allocations: 0 / 1.239 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.4484, allocations: 202.4 kB / 1.239 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.4492, allocations: 151.3 kB / 1.24 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.4523, allocations: 1.396 MB / 1.241 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.4529, allocations: 0.8898 MB / 1.242 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.453, allocations: 47.42 kB / 1.242 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of SimCode: time 1.192e-06/0.453, allocations: 0 / 1.242 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of Templates: time 0.01482/0.4678, allocations: 7.68 MB / 1.249 GB, free: 13.44 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/jenkins1/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