Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.00139/0.00139, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001986/0.001986, allocations: 189.7 kB / 22.1 MB, free: 5.152 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.597/1.597, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.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.417/3.417, allocations: 495.8 MB / 0.783 GB, free: 33.69 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.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger")
translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.16 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4415, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001993/0.4435, allocations: 0.6171 MB / 1.307 GB, free: 1.273 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001566/0.4437, allocations: 7.984 kB / 1.307 GB, free: 1.266 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.4438, allocations: 4 kB / 1.307 GB, free: 1.262 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.4439, allocations: 7.938 kB / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.4439, allocations: 0 / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 7.253e-05/0.444, allocations: 0 / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4441, allocations: 31.86 kB / 1.307 GB, free: 1.223 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4442, allocations: 19.92 kB / 1.307 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.4443, allocations: 15.92 kB / 1.307 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.4443, allocations: 15.92 kB / 1.307 GB, free: 1.172 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4443, allocations: 4 kB / 1.307 GB, free: 1.168 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.4443, allocations: 4 kB / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.4444, allocations: 12 kB / 1.307 GB, free: 1.152 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.4444, allocations: 23.86 kB / 1.307 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.4445, allocations: 39.81 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4445, allocations: 0 / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.124e-06/0.4445, allocations: 0 / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 7.805e-06/0.4445, allocations: 7.984 kB / 1.308 GB, free: 1.082 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0003988/0.4449, allocations: 274.5 kB / 1.308 GB, free: 0.7812 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.445, allocations: 12.92 kB / 1.308 GB, free: 0.7695 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.445, allocations: 4.891 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4452, allocations: 130.5 kB / 1.308 GB, free: 0.6133 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.4452, allocations: 384 / 1.308 GB, free: 0.6133 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4453, allocations: 8.375 kB / 1.308 GB, free: 0.6055 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.4454, allocations: 78.16 kB / 1.308 GB, free: 0.5234 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4454, allocations: 192 / 1.308 GB, free: 0.5234 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4455, allocations: 7.938 kB / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4455, allocations: 0 / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.4455, allocations: 47.97 kB / 1.308 GB, free: 480 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.4461, allocations: 466.2 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4462, allocations: 173.1 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.4463, allocations: 80.14 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.4463, allocations: 75.28 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.4464, allocations: 105.8 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4464, allocations: 4 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 9.156e-05/0.4465, allocations: 29.7 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.4465, allocations: 134.7 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.4467, allocations: 168.5 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4467, allocations: 25.7 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.4468, allocations: 100 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4468, allocations: 0 / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.4468, allocations: 17.72 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001545/0.447, allocations: 322.8 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.447, allocations: 11.98 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.447, allocations: 4 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.4471, allocations: 16.84 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4471, allocations: 112 / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001156/0.4472, allocations: 49.62 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4472, allocations: 4 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4472, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4472, allocations: 4.094 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.4473, allocations: 7.938 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4473, allocations: 7.922 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.4473, allocations: 19.88 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4473, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (mulMax.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001361/0.4475, allocations: 193.1 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.4476, allocations: 112.9 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.4476, allocations: 112.8 kB / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.379e-05/0.4477, allocations: 184.2 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.034e-05/0.4478, allocations: 180.2 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.212e-05/0.4479, allocations: 188.1 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4482, allocations: 388.3 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-05/0.4482, allocations: 109 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.4483, allocations: 108.9 kB / 1.311 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.146e-05/0.4484, allocations: 176.3 kB / 1.311 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.4484, allocations: 184.2 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-05/0.4485, allocations: 184.3 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.132e-05/0.4486, allocations: 188.1 kB / 1.312 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.4488, allocations: 303.8 kB / 1.312 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.4489, allocations: 116.9 kB / 1.312 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.449, allocations: 180.5 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.4491, allocations: 104.9 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.4492, allocations: 188.2 kB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.4492, allocations: 109 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001075/0.4493, allocations: 127.2 kB / 1.313 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4493, allocations: 0 / 1.313 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002331/0.4496, allocations: 4 kB / 1.313 GB, free: 10.98 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0001567/0.4497, allocations: 181.4 kB / 1.313 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 8.487e-05/0.4498, allocations: 8 kB / 1.313 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4498, allocations: 4.062 kB / 1.313 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.4498, allocations: 4 kB / 1.313 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.4503, allocations: 459 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.4506, allocations: 212 kB / 1.314 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.451, allocations: 0.6884 MB / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.515e-05/0.451, allocations: 12 kB / 1.315 GB, free: 9.375 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.451, allocations: 7.438 kB / 1.315 GB, free: 9.367 MB / 1.014 GB
Notification: Performance of SimCode: time 4.21e-07/0.451, allocations: 3.938 kB / 1.315 GB, free: 9.363 MB / 1.014 GB
Notification: Performance of Templates: time 0.003001/0.454, allocations: 481.7 kB / 1.315 GB, free: 8.895 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.702050724998116]