Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002182/0.002182, allocations: 110 kB / 18.94 MB, free: 2.789 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.002428/0.002428, allocations: 192.7 kB / 22.23 MB, free: 5.234 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.247/3.247, allocations: 495.7 MB / 0.7831 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 70.42 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4172, allocations: 173.6 MB / 1.307 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007587/0.4248, allocations: 4.184 MB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.4284, allocations: 1.336 MB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.4294, allocations: 27.81 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.43, allocations: 126.7 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.4309, allocations: 186.4 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.4321, allocations: 432.5 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.4334, allocations: 0.9632 MB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.434, allocations: 306.6 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.4344, allocations: 354.7 kB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.4348, allocations: 322.5 kB / 1.315 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.4349, allocations: 96 kB / 1.315 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.435, allocations: 92 kB / 1.315 GB, free: 9.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.4352, allocations: 187.3 kB / 1.315 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.4356, allocations: 386.1 kB / 1.316 GB, free: 8.949 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4368, allocations: 1.066 MB / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4368, allocations: 0 / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4368, allocations: 0 / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4369, allocations: 0 / 1.317 GB, free: 7.879 MB / 1.014 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.002188/0.439, allocations: 1.084 MB / 1.318 GB, free: 6.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4391, allocations: 12.03 kB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.4393, allocations: 88.38 kB / 1.318 GB, free: 6.652 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.4403, allocations: 0.496 MB / 1.318 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.4404, allocations: 49.67 kB / 1.318 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4405, allocations: 60.33 kB / 1.318 GB, free: 6.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.4417, allocations: 0.6156 MB / 1.319 GB, free: 5.391 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.4417, allocations: 0 / 1.319 GB, free: 5.391 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.4418, allocations: 24 kB / 1.319 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4418, allocations: 12 kB / 1.319 GB, free: 5.355 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.4428, allocations: 457 kB / 1.32 GB, free: 4.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.4465, allocations: 1.951 MB / 1.321 GB, free: 2.887 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.4474, allocations: 417.7 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.4479, allocations: 222.9 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.4479, allocations: 8.438 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.4485, allocations: 261.3 kB / 1.322 GB, free: 1.977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.885e-06/0.4485, allocations: 4 kB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001421/0.4499, allocations: 0.5768 MB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.45, allocations: 59.84 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.4506, allocations: 449.9 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.4506, allocations: 37.7 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.4509, allocations: 332.9 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.4511, allocations: 174.5 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.4512, allocations: 94.3 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4514, allocations: 362.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.4518, allocations: 165.2 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.4523, allocations: 258.6 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/0.4532, allocations: 454.9 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4532, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001124/0.4543, allocations: 0.5612 MB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.4544, allocations: 41.62 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4544, allocations: 0 / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.4544, allocations: 8 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.4549, allocations: 116.1 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4549, allocations: 4 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.4553, allocations: 55.66 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.4553, allocations: 23.98 kB / 1.326 GB, free: 14.12 MB / 1.029 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.0003041/0.4556, allocations: 210.2 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.4557, allocations: 63.56 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.4559, allocations: 69.58 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.4559, allocations: 7.984 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4559, allocations: 4 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4559, allocations: 0 / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4578, allocations: 1.146 MB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4578, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.4583, allocations: 99.88 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4583, allocations: 0 / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.4583, allocations: 8 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.4583, allocations: 7.984 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4584, allocations: 0 / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.4598, allocations: 0.7652 MB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.46, allocations: 95.58 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.46, allocations: 15.98 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.4603, allocations: 15.98 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4604, allocations: 44.36 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4605, allocations: 8 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003707/0.4608, allocations: 310.9 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4608, allocations: 4 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004771/0.4613, allocations: 147.6 kB / 1.329 GB, free: 11.04 MB / 1.029 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.0001637/0.4615, allocations: 114 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.4625, allocations: 465.1 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4625, allocations: 0 / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.4629, allocations: 206.3 kB / 1.33 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.4637, allocations: 157.3 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.4667, allocations: 1.361 MB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.4672, allocations: 0.8939 MB / 1.332 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.4675, allocations: 56.59 kB / 1.332 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.4676, allocations: 39.44 kB / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of SimCode: time 5.62e-07/0.4676, allocations: 0 / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of Templates: time 0.01357/0.4812, allocations: 6.295 MB / 1.338 GB, free: 1.484 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.886771080084145]