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.001326/0.001326, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001374/0.001374, allocations: 190.3 kB / 22.22 MB, free: 5.105 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.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.02 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.22/3.22, allocations: 496 MB / 0.7835 GB, free: 33.42 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.002048/0.002048, allocations: 64.61 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4307, 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.002785/0.4335, allocations: 0.7963 MB / 1.308 GB, free: 1.043 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001225/0.4347, allocations: 0.8624 MB / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.4348, allocations: 0 / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.4348, allocations: 11.86 kB / 1.309 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.4349, allocations: 15.88 kB / 1.309 GB, free: 144 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.4351, allocations: 35.95 kB / 1.309 GB, free: 108 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001508/0.4353, allocations: 91.75 kB / 1.309 GB, free: 16 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.4354, allocations: 23.98 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4355, allocations: 35.86 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.4357, allocations: 55.81 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.4357, allocations: 8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.4357, allocations: 8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.4357, allocations: 11.98 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.4358, allocations: 39.78 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.4359, allocations: 99.53 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4359, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.325e-06/0.436, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.354e-06/0.436, allocations: 0 / 1.309 GB, free: 15.74 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.0006878/0.4366, allocations: 318 kB / 1.31 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4367, allocations: 12.92 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.4367, allocations: 8.891 kB / 1.31 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4369, allocations: 114.4 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4369, allocations: 12.38 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.437, allocations: 8.312 kB / 1.31 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.4373, allocations: 108.9 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4373, allocations: 3.984 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4374, allocations: 7.938 kB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4374, allocations: 0 / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.4377, allocations: 99.91 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.4383, allocations: 307.8 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.439, allocations: 122.5 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.4391, allocations: 52.81 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.4392, allocations: 4 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4392, allocations: 38.55 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4392, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0006508/0.4399, allocations: 181.5 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.4399, allocations: 59.39 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4401, allocations: 125.8 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4401, allocations: 29.64 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.4401, allocations: 92.09 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.4402, allocations: 23.78 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.4402, allocations: 25.7 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001424/0.4404, allocations: 318.8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4405, allocations: 43.95 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.4407, allocations: 44.27 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.441, allocations: 108.9 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.441, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003863/0.4414, allocations: 141.5 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4414, allocations: 4 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4414, allocations: 0 / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4415, allocations: 0 / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4416, allocations: 27.97 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4416, allocations: 0 / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.4417, allocations: 15.92 kB / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4418, allocations: 8 kB / 1.312 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.0001139/0.4419, allocations: 122.6 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4419, allocations: 3.953 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.4424, allocations: 157.9 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4424, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4424, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4424, allocations: 3.938 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.4426, allocations: 172.6 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4426, allocations: 0 / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.4428, allocations: 23.97 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4428, allocations: 4 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4428, allocations: 7.938 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4428, allocations: 4 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4428, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.4433, allocations: 243.3 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.4433, allocations: 11.94 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.4433, allocations: 7.938 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4435, allocations: 7.984 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.4436, allocations: 27.91 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4436, allocations: 0 / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.711e-05/0.4436, allocations: 99.27 kB / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4436, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002315/0.4439, allocations: 12 kB / 1.313 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.000136/0.444, allocations: 103.2 kB / 1.313 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004261/0.4444, allocations: 103.8 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4444, allocations: 0 / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.4446, allocations: 59.94 kB / 1.313 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.0003371/0.445, allocations: 10.34 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.4455, allocations: 170.1 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4458, allocations: 0.6923 MB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.954e-05/0.4459, allocations: 19.73 kB / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.4459, allocations: 19.42 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.4459, allocations: 0 / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of Templates: time 0.004636/0.4506, allocations: 1.625 MB / 1.315 GB, free: 9.324 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: 9.520522528328001]