Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001684/0.001684, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001917/0.001917, allocations: 186.5 kB / 22.22 MB, free: 5.164 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.568/1.568, allocations: 225.6 MB / 251 MB, free: 13.01 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.339/3.339, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 69.25 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3912, allocations: 174.9 MB / 1.316 GB, free: 9.625 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002101/0.3933, allocations: 0.7009 MB / 1.317 GB, free: 8.926 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001089/0.3944, allocations: 0.8161 MB / 1.318 GB, free: 8.098 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.3944, allocations: 4 kB / 1.318 GB, free: 8.094 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3e-05/0.3944, allocations: 3.938 kB / 1.318 GB, free: 8.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.3945, allocations: 3.938 kB / 1.318 GB, free: 8.086 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.3946, allocations: 19.97 kB / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3948, allocations: 39.86 kB / 1.318 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3949, allocations: 11.98 kB / 1.318 GB, free: 8.016 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.395, allocations: 12 kB / 1.318 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.395, allocations: 23.91 kB / 1.318 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.395, allocations: 7.938 kB / 1.318 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.3951, allocations: 8 kB / 1.318 GB, free: 7.965 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.3951, allocations: 11.88 kB / 1.318 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.3951, allocations: 23.91 kB / 1.318 GB, free: 7.93 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3952, allocations: 43.75 kB / 1.318 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3953, allocations: 0 / 1.318 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.363e-06/0.3953, allocations: 0 / 1.318 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.041e-06/0.3953, allocations: 0 / 1.318 GB, free: 7.887 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0006347/0.3959, allocations: 282.3 kB / 1.318 GB, free: 7.578 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3959, allocations: 8.031 kB / 1.318 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.396, allocations: 12.89 kB / 1.318 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3961, allocations: 110.5 kB / 1.318 GB, free: 7.426 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3961, allocations: 4.359 kB / 1.318 GB, free: 7.422 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3962, allocations: 4.359 kB / 1.318 GB, free: 7.418 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3964, allocations: 74.22 kB / 1.318 GB, free: 7.34 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3964, allocations: 192 / 1.318 GB, free: 7.34 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3965, allocations: 7.875 kB / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3965, allocations: 0 / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.3968, allocations: 67.92 kB / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.3973, allocations: 236 kB / 1.319 GB, free: 6.992 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3975, allocations: 58.48 kB / 1.319 GB, free: 6.926 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.3976, allocations: 36.91 kB / 1.319 GB, free: 6.887 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3977, allocations: 11.92 kB / 1.319 GB, free: 6.875 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.3977, allocations: 34.56 kB / 1.319 GB, free: 6.832 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3977, allocations: 0 / 1.319 GB, free: 6.832 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005411/0.3983, allocations: 125.6 kB / 1.319 GB, free: 6.703 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3983, allocations: 55.39 kB / 1.319 GB, free: 6.637 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3984, allocations: 106.1 kB / 1.319 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3985, allocations: 25.7 kB / 1.319 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.3985, allocations: 92.08 kB / 1.319 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.3986, allocations: 3.953 kB / 1.319 GB, free: 6.395 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3986, allocations: 21.72 kB / 1.319 GB, free: 6.367 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001712/0.3988, allocations: 314.8 kB / 1.319 GB, free: 6.051 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3989, allocations: 31.97 kB / 1.319 GB, free: 6.02 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3991, allocations: 35.89 kB / 1.319 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.3993, allocations: 68.8 kB / 1.32 GB, free: 5.914 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3993, allocations: 3.938 kB / 1.32 GB, free: 5.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003054/0.3996, allocations: 105.5 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3996, allocations: 4 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3996, allocations: 0 / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3997, allocations: 4 kB / 1.32 GB, free: 5.793 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3998, allocations: 15.98 kB / 1.32 GB, free: 5.777 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3998, allocations: 4.062 kB / 1.32 GB, free: 5.773 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.3999, allocations: 15.98 kB / 1.32 GB, free: 5.758 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3999, allocations: 3.938 kB / 1.32 GB, free: 5.754 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * 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.0001259/0.4, allocations: 119.1 kB / 1.32 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.4, allocations: 3.984 kB / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4004, allocations: 109.9 kB / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4004, allocations: 0 / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4004, allocations: 0 / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4004, allocations: 4.031 kB / 1.32 GB, free: 5.496 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4006, allocations: 144.6 kB / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4006, allocations: 0 / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.4007, allocations: 15.98 kB / 1.32 GB, free: 5.297 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4007, allocations: 7.984 kB / 1.32 GB, free: 5.289 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.4007, allocations: 0 / 1.32 GB, free: 5.289 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4007, allocations: 4 kB / 1.32 GB, free: 5.285 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4007, allocations: 4 kB / 1.32 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.4011, allocations: 199.3 kB / 1.32 GB, free: 5.07 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.4011, allocations: 4 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4011, allocations: 0 / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4012, allocations: 15.97 kB / 1.32 GB, free: 5.051 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.4013, allocations: 4 kB / 1.32 GB, free: 5.047 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.4013, allocations: 4 kB / 1.32 GB, free: 5.043 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.073e-05/0.4013, allocations: 83.27 kB / 1.32 GB, free: 4.961 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4013, allocations: 0 / 1.32 GB, free: 4.961 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002097/0.4015, allocations: 8 kB / 1.32 GB, free: 4.953 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 (3):
 * Single equations (assignments): 3
 * 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.0001334/0.4017, allocations: 99.25 kB / 1.32 GB, free: 4.848 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003373/0.402, allocations: 75.86 kB / 1.321 GB, free: 4.773 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.402, allocations: 0 / 1.321 GB, free: 4.773 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4022, allocations: 35.95 kB / 1.321 GB, free: 4.738 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4025, allocations: 11.94 kB / 1.321 GB, free: 4.727 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.4029, allocations: 129.3 kB / 1.321 GB, free: 4.574 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4032, allocations: 0.6806 MB / 1.321 GB, free: 3.867 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.964e-05/0.4033, allocations: 4 kB / 1.321 GB, free: 3.863 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.4033, allocations: 7.438 kB / 1.321 GB, free: 3.855 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.4033, allocations: 0 / 1.321 GB, free: 3.855 MB / 1.014 GB
Notification: Performance of Templates: time 0.003387/0.4067, allocations: 0.6951 MB / 1.322 GB, free: 3.172 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.397492012009025]