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.00158/0.00158, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001613/0.001613, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 489.3 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001953/0.001953, allocations: 63.91 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00604/1.165, allocations: 4.128 MB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003308/1.168, allocations: 1.327 MB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/1.169, allocations: 25.09 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004063/1.17, allocations: 127 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005463/1.17, allocations: 180 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/1.171, allocations: 410.4 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001309/1.173, allocations: 0.9649 MB / 1.27 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00074/1.173, allocations: 464.7 kB / 1.27 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/1.174, allocations: 329.9 kB / 1.27 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/1.174, allocations: 336.2 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/1.175, allocations: 90.66 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/1.175, allocations: 90.78 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/1.175, allocations: 173.1 kB / 1.271 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/1.175, allocations: 394.4 kB / 1.271 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/1.177, allocations: 1.069 MB / 1.272 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.177, allocations: 0 / 1.272 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.177, allocations: 4.844 kB / 1.272 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.177, allocations: 0 / 1.272 GB, free: 1.602 MB / 0.9981 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.001947/1.179, allocations: 1.093 MB / 1.273 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.179, allocations: 9.156 kB / 1.273 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/1.179, allocations: 93.91 kB / 1.274 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/1.18, allocations: 0.5654 MB / 1.274 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/1.18, allocations: 45.47 kB / 1.274 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.18, allocations: 63.69 kB / 1.274 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.181, allocations: 0.6078 MB / 1.275 GB, free: 12 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.181, allocations: 1.312 kB / 1.275 GB, free: 12 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/1.181, allocations: 25.3 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/1.181, allocations: 14.59 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/1.183, allocations: 461.8 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/1.186, allocations: 1.992 MB / 1.277 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.187, allocations: 454.3 kB / 1.278 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/1.188, allocations: 239.9 kB / 1.278 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/1.188, allocations: 6 kB / 1.278 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/1.189, allocations: 262.2 kB / 1.278 GB, free: 14.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/1.189, allocations: 0 / 1.278 GB, free: 14.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.00156/1.19, allocations: 0.5859 MB / 1.279 GB, free: 13.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/1.19, allocations: 66.73 kB / 1.279 GB, free: 13.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/1.191, allocations: 445.2 kB / 1.279 GB, free: 13.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/1.191, allocations: 36.55 kB / 1.279 GB, free: 13.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/1.191, allocations: 330.9 kB / 1.28 GB, free: 13.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/1.192, allocations: 173.5 kB / 1.28 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.192, allocations: 96.41 kB / 1.28 GB, free: 13.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.192, allocations: 363.9 kB / 1.28 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/1.192, allocations: 170.6 kB / 1.28 GB, free: 12.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/1.193, allocations: 243.7 kB / 1.281 GB, free: 12.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/1.194, allocations: 455.5 kB / 1.281 GB, free: 12.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.194, allocations: 3.875 kB / 1.281 GB, free: 12.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001204/1.195, allocations: 0.5625 MB / 1.282 GB, free: 12.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/1.195, allocations: 37.22 kB / 1.282 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.195, allocations: 2.469 kB / 1.282 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.195, allocations: 5.266 kB / 1.282 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/1.196, allocations: 111.7 kB / 1.282 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.196, allocations: 9.625 kB / 1.282 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.196, allocations: 55.89 kB / 1.282 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/1.196, allocations: 20.5 kB / 1.282 GB, free: 11.96 MB / 1.014 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.0003338/1.196, allocations: 212.8 kB / 1.282 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/1.197, allocations: 62.48 kB / 1.282 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/1.197, allocations: 64.44 kB / 1.282 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/1.197, allocations: 5.406 kB / 1.282 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.197, allocations: 1.188 kB / 1.282 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.197, allocations: 2.109 kB / 1.282 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.199, allocations: 1.184 MB / 1.283 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.199, allocations: 3.938 kB / 1.283 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/1.199, allocations: 93.81 kB / 1.283 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.199, allocations: 2.391 kB / 1.283 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/1.199, allocations: 11.89 kB / 1.283 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.199, allocations: 3.703 kB / 1.283 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.199, allocations: 0 / 1.283 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.201, allocations: 0.7665 MB / 1.284 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/1.201, allocations: 172.4 kB / 1.284 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/1.201, allocations: 12.69 kB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/1.202, allocations: 24.38 kB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.202, allocations: 36.61 kB / 1.284 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/1.202, allocations: 11.39 kB / 1.284 GB, free: 10.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005122/1.202, allocations: 308.5 kB / 1.285 GB, free: 10.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.71e-07/1.202, allocations: 0 / 1.285 GB, free: 10.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006147/1.203, allocations: 150 kB / 1.285 GB, free: 10.22 MB / 1.014 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.0001896/1.203, allocations: 115.5 kB / 1.285 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001204/1.204, allocations: 486 kB / 1.285 GB, free: 9.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.204, allocations: 0 / 1.285 GB, free: 9.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004949/1.205, allocations: 213.3 kB / 1.286 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/1.206, allocations: 163.3 kB / 1.286 GB, free: 9.781 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/1.209, allocations: 1.389 MB / 1.287 GB, free: 8.945 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/1.21, allocations: 0.8886 MB / 1.288 GB, free: 8.242 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/1.21, allocations: 43.17 kB / 1.288 GB, free: 8.234 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.21, allocations: 0 / 1.288 GB, free: 8.234 MB / 1.014 GB Notification: Performance of Templates: time 0.01851/1.228, allocations: 7.668 MB / 1.295 GB, free: 7.309 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.025606847833842]