Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001666/0.001666, allocations: 109.7 kB / 18.84 MB, free: 3.012 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.001582/0.001582, allocations: 189.3 kB / 22.1 MB, free: 5.168 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.551/1.551, allocations: 225.6 MB / 250.8 MB, free: 13.03 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.496/3.496, allocations: 495.8 MB / 0.783 GB, free: 33.43 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.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 61.33 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4491, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002502/0.4516, allocations: 0.7828 MB / 1.308 GB, free: 1.055 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001249/0.4528, allocations: 0.8662 MB / 1.308 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.4529, allocations: 0 / 1.308 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.4529, allocations: 11.86 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 9.928e-05/0.453, allocations: 11.94 kB / 1.308 GB, free: 156 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.4532, allocations: 43.89 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.00015/0.4534, allocations: 91.75 kB / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.4535, allocations: 19.98 kB / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4536, allocations: 43.8 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.4538, allocations: 47.81 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.4538, allocations: 8 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.517e-05/0.4538, allocations: 8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.4539, allocations: 19.97 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.4539, allocations: 35.8 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.4541, allocations: 87.59 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4541, allocations: 0 / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.144e-06/0.4541, allocations: 0 / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.203e-06/0.4541, allocations: 4 kB / 1.309 GB, free: 15.75 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0007249/0.4548, allocations: 326 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4549, allocations: 8.031 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.4549, allocations: 8.891 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4551, allocations: 118.4 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.4551, allocations: 8.375 kB / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4551, allocations: 4.375 kB / 1.309 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.4555, allocations: 117.5 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4555, allocations: 0 / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4555, allocations: 4 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4555, allocations: 0 / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.4559, allocations: 91.91 kB / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.4565, allocations: 319.7 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.4572, allocations: 118.5 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.4574, allocations: 56.8 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4574, allocations: 4 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.4574, allocations: 30.56 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4574, allocations: 4 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0007372/0.4582, allocations: 177.5 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.4582, allocations: 59.41 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4584, allocations: 125.7 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4584, allocations: 29.7 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.4585, allocations: 96.08 kB / 1.31 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.4585, allocations: 23.8 kB / 1.31 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.4586, allocations: 25.7 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000165/0.4587, allocations: 314.8 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.4589, allocations: 51.95 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4591, allocations: 47.94 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4595, allocations: 93.25 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4595, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004358/0.4599, allocations: 145.5 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4599, allocations: 11.94 kB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4599, allocations: 0 / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.46, allocations: 0 / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4601, allocations: 27.91 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4601, allocations: 0 / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.4603, allocations: 23.92 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4603, allocations: 7.984 kB / 1.311 GB, free: 13.14 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: 3 (reaToInt1.y,reaToInt.y,min1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 7
 * 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.0001141/0.4604, allocations: 114.6 kB / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.4604, allocations: 7.953 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.4609, allocations: 150 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4609, allocations: 0 / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4609, allocations: 0 / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4609, allocations: 3.938 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.4612, allocations: 172.6 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4612, allocations: 3.938 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4613, allocations: 23.97 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4613, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4613, allocations: 4 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4613, allocations: 3.984 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4613, allocations: 8 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.4619, allocations: 235.3 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.4619, allocations: 11.89 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4619, allocations: 4 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.462, allocations: 15.98 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.4621, allocations: 31.89 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.4621, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.729e-05/0.4622, allocations: 103.6 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4622, allocations: 0 / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002301/0.4625, allocations: 12 kB / 1.312 GB, free: 12.17 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: 3 (min1.y,reaToInt.y,reaToInt1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 7
 * 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.0001532/0.4626, allocations: 99.23 kB / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004597/0.4631, allocations: 103.9 kB / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4631, allocations: 0 / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4633, allocations: 63.88 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.4636, allocations: 8.781 kB / 1.312 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.4642, allocations: 174.1 kB / 1.312 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4645, allocations: 0.6923 MB / 1.313 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.956e-05/0.4646, allocations: 15.75 kB / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.4646, allocations: 19.42 kB / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of SimCode: time 9.01e-07/0.4646, allocations: 0 / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of Templates: time 0.004994/0.4696, allocations: 1.628 MB / 1.315 GB, free: 9.328 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.105424714274704]