Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001304/0.001304, allocations: 112.7 kB / 18.94 MB, free: 2.953 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.001553/0.001553, allocations: 189 kB / 22.23 MB, free: 5.137 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.418/1.418, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.215/3.215, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 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-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.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 62.72 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002553/0.3535, allocations: 0.7827 MB / 1.317 GB, free: 8.973 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001221/0.3547, allocations: 0.8779 MB / 1.318 GB, free: 8.082 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.3548, allocations: 0 / 1.318 GB, free: 8.082 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.3548, allocations: 3.938 kB / 1.318 GB, free: 8.078 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.3549, allocations: 11.88 kB / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3551, allocations: 43.88 kB / 1.318 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3552, allocations: 79.83 kB / 1.318 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3554, allocations: 19.98 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3555, allocations: 47.78 kB / 1.318 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3556, allocations: 43.83 kB / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3556, allocations: 12 kB / 1.318 GB, free: 7.824 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.3556, allocations: 11.94 kB / 1.318 GB, free: 7.812 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.3556, allocations: 27.91 kB / 1.318 GB, free: 7.785 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.3557, allocations: 27.86 kB / 1.318 GB, free: 7.758 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3559, allocations: 87.59 kB / 1.318 GB, free: 7.672 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3559, allocations: 4 kB / 1.318 GB, free: 7.668 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.814e-06/0.3559, allocations: 0 / 1.318 GB, free: 7.668 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.494e-06/0.3559, allocations: 4 kB / 1.318 GB, free: 7.664 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.0006991/0.3566, allocations: 318 kB / 1.318 GB, free: 7.324 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3566, allocations: 8.031 kB / 1.318 GB, free: 7.316 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.3567, allocations: 8.891 kB / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3568, allocations: 126.4 kB / 1.319 GB, free: 7.16 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3569, allocations: 8.375 kB / 1.319 GB, free: 7.152 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3569, allocations: 4.375 kB / 1.319 GB, free: 7.148 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.3572, allocations: 109.5 kB / 1.319 GB, free: 7.035 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3572, allocations: 0 / 1.319 GB, free: 7.035 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3572, allocations: 4 kB / 1.319 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3573, allocations: 0 / 1.319 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.3576, allocations: 91.91 kB / 1.319 GB, free: 6.941 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.3582, allocations: 319.7 kB / 1.319 GB, free: 6.586 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.3588, allocations: 114.6 kB / 1.319 GB, free: 6.465 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.359, allocations: 52.81 kB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3591, allocations: 3.938 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3591, allocations: 38.5 kB / 1.319 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 2.946e-06/0.3591, allocations: 7.984 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0006738/0.3598, allocations: 185.7 kB / 1.319 GB, free: 6.164 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3598, allocations: 51.41 kB / 1.319 GB, free: 6.102 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3599, allocations: 129.7 kB / 1.32 GB, free: 5.965 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3599, allocations: 33.7 kB / 1.32 GB, free: 5.926 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.36, allocations: 92.12 kB / 1.32 GB, free: 5.832 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.36, allocations: 19.8 kB / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3601, allocations: 25.7 kB / 1.32 GB, free: 5.781 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001562/0.3602, allocations: 318.8 kB / 1.32 GB, free: 5.461 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3604, allocations: 43.95 kB / 1.32 GB, free: 5.418 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.3606, allocations: 59.95 kB / 1.32 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.3609, allocations: 92.78 kB / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3609, allocations: 0 / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003805/0.3613, allocations: 141.5 kB / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3613, allocations: 4 kB / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3613, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3613, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3615, allocations: 27.97 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3615, allocations: 3.938 kB / 1.32 GB, free: 5.086 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3616, allocations: 19.86 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3616, allocations: 7.984 kB / 1.32 GB, free: 5.059 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 9.737e-05/0.3617, allocations: 119.2 kB / 1.321 GB, free: 4.934 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3617, allocations: 3.953 kB / 1.321 GB, free: 4.93 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.3622, allocations: 146 kB / 1.321 GB, free: 4.777 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3622, allocations: 0 / 1.321 GB, free: 4.777 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3622, allocations: 0 / 1.321 GB, free: 4.777 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3622, allocations: 11.92 kB / 1.321 GB, free: 4.766 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3624, allocations: 172.6 kB / 1.321 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3624, allocations: 3.938 kB / 1.321 GB, free: 4.551 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3626, allocations: 35.91 kB / 1.321 GB, free: 4.516 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3626, allocations: 0 / 1.321 GB, free: 4.516 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3626, allocations: 7.984 kB / 1.321 GB, free: 4.508 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3626, allocations: 0 / 1.321 GB, free: 4.508 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3626, allocations: 0 / 1.321 GB, free: 4.508 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.363, allocations: 235.3 kB / 1.321 GB, free: 4.262 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.363, allocations: 7.953 kB / 1.321 GB, free: 4.254 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3631, allocations: 4 kB / 1.321 GB, free: 4.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3632, allocations: 11.98 kB / 1.321 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.3633, allocations: 23.91 kB / 1.321 GB, free: 4.215 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3633, allocations: 4 kB / 1.321 GB, free: 4.211 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.885e-05/0.3633, allocations: 95.27 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3633, allocations: 0 / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002292/0.3636, allocations: 16 kB / 1.321 GB, free: 4.102 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.0001171/0.3637, allocations: 103.2 kB / 1.321 GB, free: 3.992 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004003/0.3641, allocations: 95.91 kB / 1.321 GB, free: 3.898 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3641, allocations: 4 kB / 1.321 GB, free: 3.895 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.3643, allocations: 63.88 kB / 1.322 GB, free: 3.832 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3646, allocations: 10.34 kB / 1.322 GB, free: 3.824 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.3651, allocations: 184.3 kB / 1.322 GB, free: 3.617 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3654, allocations: 0.6962 MB / 1.322 GB, free: 2.895 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.519e-05/0.3655, allocations: 11.75 kB / 1.322 GB, free: 2.883 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.3656, allocations: 27.42 kB / 1.322 GB, free: 2.855 MB / 1.014 GB
Notification: Performance of SimCode: time 4.3e-07/0.3656, allocations: 0 / 1.322 GB, free: 2.855 MB / 1.014 GB
Notification: Performance of Templates: time 0.004624/0.3702, allocations: 1.62 MB / 1.324 GB, free: 1.242 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.081526990048587]