Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.001858/0.001858, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002377/0.002377, allocations: 192.2 kB / 22.11 MB, free: 4.223 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.546/1.546, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.025/3.025, allocations: 495.8 MB / 0.7831 GB, free: 12.24 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-maint.12.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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal")
translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.88 kB / 1.137 GB, free: 12.19 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.2, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002401/1.203, allocations: 0.9926 MB / 1.308 GB, free: 33.08 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00227/1.205, allocations: 1.577 MB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/1.205, allocations: 6.875 kB / 1.309 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 5.553e-05/1.205, allocations: 18.38 kB / 1.309 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001272/1.205, allocations: 27.16 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006656/1.206, allocations: 217.6 kB / 1.31 GB, free: 31.77 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.000325/1.206, allocations: 312 kB / 1.31 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000175/1.206, allocations: 61.5 kB / 1.31 GB, free: 31.59 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/1.207, allocations: 141.6 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/1.207, allocations: 130 kB / 1.31 GB, free: 31.45 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 5.256e-05/1.207, allocations: 29.69 kB / 1.31 GB, free: 31.45 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/1.207, allocations: 41.34 kB / 1.31 GB, free: 31.45 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 5.752e-05/1.207, allocations: 58.77 kB / 1.31 GB, free: 31.41 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001319/1.207, allocations: 118.2 kB / 1.31 GB, free: 31.34 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003254/1.208, allocations: 324.8 kB / 1.311 GB, free: 31.22 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.208, allocations: 0 / 1.311 GB, free: 31.22 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.673e-06/1.208, allocations: 3.938 kB / 1.311 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.123e-06/1.208, allocations: 0 / 1.311 GB, free: 31.21 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 34
 * Number of variables: 34
Notification: Performance of Generate backend data structure: time 0.0008631/1.208, allocations: 469.1 kB / 1.311 GB, free: 30.84 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.208, allocations: 12.28 kB / 1.311 GB, free: 30.84 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/1.209, allocations: 22.84 kB / 1.311 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/1.209, allocations: 205.1 kB / 1.311 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/1.209, allocations: 20.31 kB / 1.311 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/1.209, allocations: 31.83 kB / 1.311 GB, free: 30.64 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/1.209, allocations: 220.4 kB / 1.312 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.21, allocations: 2.969 kB / 1.312 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/1.21, allocations: 18.19 kB / 1.312 GB, free: 30.54 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.21, allocations: 2.844 kB / 1.312 GB, free: 30.54 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/1.21, allocations: 169.4 kB / 1.312 GB, free: 30.5 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/1.211, allocations: 0.5881 MB / 1.312 GB, free: 30.11 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/1.211, allocations: 152.1 kB / 1.313 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/1.211, allocations: 84.17 kB / 1.313 GB, free: 30.01 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/1.211, allocations: 3.984 kB / 1.313 GB, free: 30 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/1.212, allocations: 267.2 kB / 1.313 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=27): time 1.733e-06/1.212, allocations: 2.531 kB / 1.313 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of matching and sorting (n=27): time 0.0009899/1.213, allocations: 421.4 kB / 1.313 GB, free: 29.75 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.213, allocations: 62.34 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.213, allocations: 150.9 kB / 1.313 GB, free: 29.56 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 4.332e-05/1.213, allocations: 46.3 kB / 1.313 GB, free: 29.52 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/1.213, allocations: 120.3 kB / 1.314 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/1.213, allocations: 67.59 kB / 1.314 GB, free: 29.36 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.213, allocations: 79.06 kB / 1.314 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 6.661e-05/1.213, allocations: 328.5 kB / 1.314 GB, free: 29 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/1.214, allocations: 105.7 kB / 1.314 GB, free: 28.96 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.214, allocations: 155.7 kB / 1.314 GB, free: 28.88 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/1.214, allocations: 212.8 kB / 1.315 GB, free: 28.75 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.214, allocations: 6.625 kB / 1.315 GB, free: 28.75 MB / 1.061 GB
Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005368/1.215, allocations: 366.7 kB / 1.315 GB, free: 28.57 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/1.215, allocations: 35.86 kB / 1.315 GB, free: 28.54 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.215, allocations: 3.938 kB / 1.315 GB, free: 28.54 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.215, allocations: 3.25 kB / 1.315 GB, free: 28.54 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.215, allocations: 39.64 kB / 1.315 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.215, allocations: 2.625 kB / 1.315 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/1.215, allocations: 45.16 kB / 1.315 GB, free: 28.51 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/1.215, allocations: 16.34 kB / 1.315 GB, free: 28.51 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (42):
 * Single equations (assignments): 41
 * 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.0001311/1.215, allocations: 159.4 kB / 1.315 GB, free: 28.36 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/1.215, allocations: 23.69 kB / 1.315 GB, free: 28.35 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/1.215, allocations: 20 kB / 1.315 GB, free: 28.33 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.215, allocations: 3.969 kB / 1.315 GB, free: 28.33 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.215, allocations: 0 / 1.315 GB, free: 28.33 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.215, allocations: 3.328 kB / 1.315 GB, free: 28.33 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/1.216, allocations: 0.6812 MB / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.216, allocations: 0 / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/1.216, allocations: 16.33 kB / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.216, allocations: 0 / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/1.216, allocations: 13.31 kB / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/1.216, allocations: 0 / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.216, allocations: 0 / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/1.217, allocations: 457.2 kB / 1.316 GB, free: 27.66 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/1.217, allocations: 13.38 kB / 1.316 GB, free: 27.65 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/1.217, allocations: 21.27 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.217, allocations: 12.41 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.217, allocations: 29.94 kB / 1.316 GB, free: 27.63 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/1.217, allocations: 24.27 kB / 1.316 GB, free: 27.63 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 5.086e-05/1.217, allocations: 105.5 kB / 1.317 GB, free: 27.55 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.217, allocations: 0 / 1.317 GB, free: 27.55 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003152/1.218, allocations: 65.86 kB / 1.317 GB, free: 27.53 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse)
 * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (27):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 9
 * 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.0001882/1.218, allocations: 136.3 kB / 1.317 GB, free: 27.43 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0005617/1.218, allocations: 309.4 kB / 1.317 GB, free: 27.29 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.218, allocations: 0 / 1.317 GB, free: 27.29 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002571/1.219, allocations: 128.5 kB / 1.317 GB, free: 27.25 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/1.219, allocations: 26.23 kB / 1.317 GB, free: 27.23 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/1.22, allocations: 368.8 kB / 1.318 GB, free: 27 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/1.22, allocations: 0.7235 MB / 1.318 GB, free: 26.3 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 8.106e-05/1.22, allocations: 37.8 kB / 1.318 GB, free: 26.29 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/1.22, allocations: 25.75 kB / 1.318 GB, free: 26.27 MB / 1.061 GB
Notification: Performance of SimCode: time 7.21e-07/1.22, allocations: 0 / 1.318 GB, free: 26.27 MB / 1.061 GB
Notification: Performance of Templates: time 0.006212/1.226, allocations: 2.886 MB / 1.321 GB, free: 26.04 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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: 10.198111669160426]