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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 103 kB / 18.19 MB, free: 3.879 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.001471/0.001471, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.342/1.342, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 489.7 MB / 0.7761 GB, free: 33.73 MB / 0.6231 GB [Timeout remaining time 87] 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.001839/0.001839, allocations: 67.23 kB / 1.127 GB, free: 36.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3077, allocations: 172.1 MB / 1.295 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005945/0.3137, allocations: 4.151 MB / 1.299 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.316, allocations: 1.325 MB / 1.3 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.3163, allocations: 23.88 kB / 1.3 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.3166, allocations: 130.7 kB / 1.3 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.317, allocations: 190.4 kB / 1.301 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.3178, allocations: 426.8 kB / 1.301 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009477/0.3188, allocations: 0.9554 MB / 1.302 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.3193, allocations: 322.2 kB / 1.302 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.3196, allocations: 330.8 kB / 1.302 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.32, allocations: 334.3 kB / 1.303 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3201, allocations: 92 kB / 1.303 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3202, allocations: 88 kB / 1.303 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.3204, allocations: 179.4 kB / 1.303 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.3208, allocations: 394 kB / 1.304 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3218, allocations: 1.058 MB / 1.305 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3218, allocations: 4 kB / 1.305 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3218, allocations: 0 / 1.305 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.3219, allocations: 0 / 1.305 GB, free: 1.609 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.001768/0.3236, allocations: 1.104 MB / 1.306 GB, free: 456 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3237, allocations: 12.03 kB / 1.306 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.3238, allocations: 88.36 kB / 1.306 GB, free: 356 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.3247, allocations: 0.5603 MB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.3248, allocations: 45.69 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.3249, allocations: 64.33 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.326, allocations: 0.6092 MB / 1.307 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.326, allocations: 0 / 1.307 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.3261, allocations: 24 kB / 1.307 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.3261, allocations: 16 kB / 1.307 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.3271, allocations: 460.9 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.3299, allocations: 2.001 MB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.3308, allocations: 421 kB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.3313, allocations: 226.6 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.3313, allocations: 8.438 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.3319, allocations: 257.4 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.3319, allocations: 0 / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001302/0.3332, allocations: 0.5885 MB / 1.311 GB, free: 10.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3332, allocations: 63.84 kB / 1.311 GB, free: 10.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.3337, allocations: 442.7 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3338, allocations: 37.7 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.334, allocations: 328.9 kB / 1.312 GB, free: 10.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.3342, allocations: 178.5 kB / 1.312 GB, free: 9.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3343, allocations: 98.19 kB / 1.312 GB, free: 9.777 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3345, allocations: 362.8 kB / 1.312 GB, free: 9.414 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.3349, allocations: 169 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.3354, allocations: 253.7 kB / 1.313 GB, free: 8.977 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008145/0.3362, allocations: 460 kB / 1.313 GB, free: 8.488 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3362, allocations: 4 kB / 1.313 GB, free: 8.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001031/0.3372, allocations: 0.5629 MB / 1.314 GB, free: 7.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.3372, allocations: 37.7 kB / 1.314 GB, free: 7.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3373, allocations: 4 kB / 1.314 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3373, allocations: 4 kB / 1.314 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.3378, allocations: 107.9 kB / 1.314 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3378, allocations: 15.81 kB / 1.314 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.3381, allocations: 55.7 kB / 1.314 GB, free: 7.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.3381, allocations: 16 kB / 1.314 GB, free: 7.668 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.0002566/0.3384, allocations: 217.7 kB / 1.314 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.3385, allocations: 55.62 kB / 1.314 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3386, allocations: 69.52 kB / 1.314 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3386, allocations: 8 kB / 1.314 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3386, allocations: 3.938 kB / 1.314 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3386, allocations: 3.984 kB / 1.314 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3403, allocations: 1.17 MB / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3403, allocations: 0 / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.3408, allocations: 87.89 kB / 1.315 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3408, allocations: 7.938 kB / 1.315 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.3408, allocations: 15.92 kB / 1.315 GB, free: 5.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3408, allocations: 4 kB / 1.315 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3408, allocations: 0 / 1.315 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3422, allocations: 0.7577 MB / 1.316 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.3424, allocations: 176.6 kB / 1.316 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.3424, allocations: 15.94 kB / 1.316 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.3427, allocations: 23.97 kB / 1.316 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.3428, allocations: 40.39 kB / 1.316 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3428, allocations: 8 kB / 1.316 GB, free: 4.918 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003495/0.3432, allocations: 310.9 kB / 1.317 GB, free: 4.617 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3432, allocations: 0 / 1.317 GB, free: 4.617 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004414/0.3436, allocations: 147.6 kB / 1.317 GB, free: 4.473 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.0001391/0.3438, allocations: 115.1 kB / 1.317 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009152/0.3447, allocations: 461 kB / 1.317 GB, free: 3.879 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3447, allocations: 0 / 1.317 GB, free: 3.879 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.3451, allocations: 202.4 kB / 1.318 GB, free: 3.684 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.3458, allocations: 166.4 kB / 1.318 GB, free: 3.531 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3484, allocations: 1.4 MB / 1.319 GB, free: 2.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.3489, allocations: 0.886 MB / 1.32 GB, free: 1.176 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3491, allocations: 47.42 kB / 1.32 GB, free: 1.133 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.3491, allocations: 0 / 1.32 GB, free: 1.133 MB / 1.014 GB Notification: Performance of Templates: time 0.01097/0.3601, allocations: 7.683 MB / 1.328 GB, free: 9.492 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] 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/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