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.001737/0.001737, allocations: 111.3 kB / 16.46 MB, free: 6.035 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.002036/0.002036, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.359/1.359, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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 2.995/2.995, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 70.05 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3356, allocations: 173.9 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006368/0.342, allocations: 4.152 MB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.3445, allocations: 1.332 MB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.3448, allocations: 23.88 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3452, allocations: 126.7 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.3455, allocations: 182.4 kB / 1.31 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.3464, allocations: 425.4 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3478, allocations: 0.9554 MB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.3483, allocations: 310.5 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.3487, allocations: 326.8 kB / 1.312 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.3491, allocations: 342.3 kB / 1.312 GB, free: 9.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.3492, allocations: 92 kB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3494, allocations: 92 kB / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3495, allocations: 175.5 kB / 1.312 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.3499, allocations: 398 kB / 1.313 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.3511, allocations: 1.062 MB / 1.314 GB, free: 7.578 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3511, allocations: 0 / 1.314 GB, free: 7.578 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.487e-06/0.3511, allocations: 4 kB / 1.314 GB, free: 7.574 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.3511, allocations: 0 / 1.314 GB, free: 7.574 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.001935/0.353, allocations: 1.092 MB / 1.315 GB, free: 6.422 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3531, allocations: 12.62 kB / 1.315 GB, free: 6.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.3532, allocations: 94.7 kB / 1.315 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.3533, allocations: 100.3 kB / 1.315 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3544, allocations: 0.5616 MB / 1.315 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.3544, allocations: 45.69 kB / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3546, allocations: 60.38 kB / 1.316 GB, free: 5.512 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3557, allocations: 0.6076 MB / 1.316 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.3557, allocations: 8 kB / 1.316 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.3558, allocations: 24 kB / 1.316 GB, free: 4.848 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3558, allocations: 12 kB / 1.316 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.3568, allocations: 461 kB / 1.317 GB, free: 4.383 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.3598, allocations: 2.001 MB / 1.319 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.3607, allocations: 426.4 kB / 1.319 GB, free: 1.887 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.3612, allocations: 230 kB / 1.319 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.3612, allocations: 8.375 kB / 1.319 GB, free: 1.652 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.3618, allocations: 257.3 kB / 1.319 GB, free: 1.387 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 1.803e-06/0.3618, allocations: 8 kB / 1.319 GB, free: 1.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001258/0.363, allocations: 0.5846 MB / 1.32 GB, free: 0.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3631, allocations: 59.84 kB / 1.32 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.3636, allocations: 442.7 kB / 1.321 GB, free: 288 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.3637, allocations: 37.7 kB / 1.321 GB, free: 244 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.3639, allocations: 332.9 kB / 1.321 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.3641, allocations: 170.5 kB / 1.321 GB, free: 15.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.3642, allocations: 98.19 kB / 1.321 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3644, allocations: 362.8 kB / 1.321 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.3648, allocations: 165 kB / 1.322 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.3652, allocations: 253.8 kB / 1.322 GB, free: 14.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/0.3661, allocations: 452 kB / 1.322 GB, free: 14.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3661, allocations: 0 / 1.322 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001124/0.3672, allocations: 0.5704 MB / 1.323 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3672, allocations: 35.42 kB / 1.323 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3673, allocations: 0 / 1.323 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3673, allocations: 4 kB / 1.323 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.3678, allocations: 120.1 kB / 1.323 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.3678, allocations: 7.938 kB / 1.323 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3681, allocations: 59.64 kB / 1.323 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.3682, allocations: 16 kB / 1.323 GB, free: 13.54 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 (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.0002575/0.3684, allocations: 211.7 kB / 1.323 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.3685, allocations: 67.5 kB / 1.323 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.3686, allocations: 69.58 kB / 1.323 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3686, allocations: 4 kB / 1.323 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3687, allocations: 0 / 1.323 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3687, allocations: 3.984 kB / 1.323 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3704, allocations: 1.17 MB / 1.325 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3704, allocations: 0 / 1.325 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.3709, allocations: 99.83 kB / 1.325 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3709, allocations: 0 / 1.325 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.371, allocations: 15.98 kB / 1.325 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.371, allocations: 0 / 1.325 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/0.371, allocations: 4 kB / 1.325 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.3723, allocations: 0.7654 MB / 1.325 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.3725, allocations: 172.7 kB / 1.326 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.3726, allocations: 8 kB / 1.326 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3728, allocations: 23.97 kB / 1.326 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.808e-05/0.3729, allocations: 36.33 kB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.373, allocations: 16 kB / 1.326 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004281/0.3734, allocations: 310.9 kB / 1.326 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3734, allocations: 4 kB / 1.326 GB, free: 10.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004317/0.3738, allocations: 143.6 kB / 1.326 GB, free: 10.34 MB / 1.029 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.001665/0.3755, allocations: 1.321 MB / 1.327 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.3764, allocations: 465 kB / 1.328 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3764, allocations: 0.5 kB / 1.328 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.3768, allocations: 202.4 kB / 1.328 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.3775, allocations: 153.4 kB / 1.328 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.3848, allocations: 4.817 MB / 1.333 GB, free: 3.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.3853, allocations: 0.8899 MB / 1.334 GB, free: 2.305 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.3856, allocations: 68.58 kB / 1.334 GB, free: 2.238 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.3859, allocations: 215.4 kB / 1.334 GB, free: 2.027 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.3859, allocations: 0 / 1.334 GB, free: 2.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.4308, allocations: 11.38 MB / 1.345 GB, free: 6.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.843, allocations: 12.69 kB / 1.345 GB, free: 6.828 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 840.0] 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: 15.536745741032064]