Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001851/0.001851, allocations: 113.9 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.002619/0.002619, allocations: 189.5 kB / 22.22 MB, free: 5.102 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.501/1.501, 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.192/3.192, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 61.62 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4172, allocations: 174.9 MB / 1.316 GB, free: 9.617 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002118/0.4193, allocations: 0.7203 MB / 1.317 GB, free: 8.898 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.000995/0.4203, allocations: 0.8083 MB / 1.318 GB, free: 8.078 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.4204, allocations: 4 kB / 1.318 GB, free: 8.074 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.4204, allocations: 3.938 kB / 1.318 GB, free: 8.07 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.4205, allocations: 11.91 kB / 1.318 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.4206, allocations: 11.98 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.4207, allocations: 43.86 kB / 1.318 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4208, allocations: 11.98 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.4208, allocations: 11.94 kB / 1.318 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.4209, allocations: 27.91 kB / 1.318 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.4209, allocations: 8 kB / 1.318 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.4209, allocations: 0 / 1.318 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.4209, allocations: 11.94 kB / 1.318 GB, free: 7.934 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.421, allocations: 19.91 kB / 1.318 GB, free: 7.914 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 9.359e-05/0.4211, allocations: 39.81 kB / 1.318 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4211, allocations: 3.938 kB / 1.318 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.483e-06/0.4211, allocations: 0 / 1.318 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.519e-06/0.4211, allocations: 0 / 1.318 GB, free: 7.871 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.0005395/0.4216, allocations: 286.3 kB / 1.318 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4217, allocations: 8.031 kB / 1.318 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.4217, allocations: 8.891 kB / 1.318 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.4218, allocations: 118.4 kB / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.4218, allocations: 384 / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4218, allocations: 384 / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4221, allocations: 70.22 kB / 1.318 GB, free: 7.328 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.4221, allocations: 192 / 1.318 GB, free: 7.328 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4221, allocations: 3.938 kB / 1.318 GB, free: 7.324 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4221, allocations: 4 kB / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.4224, allocations: 63.92 kB / 1.318 GB, free: 7.258 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.4228, allocations: 239.9 kB / 1.319 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.423, allocations: 62.48 kB / 1.319 GB, free: 6.91 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4232, allocations: 44.83 kB / 1.319 GB, free: 6.863 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4232, allocations: 0 / 1.319 GB, free: 6.863 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4232, allocations: 34.56 kB / 1.319 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.4232, allocations: 0 / 1.319 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005012/0.4237, allocations: 133.5 kB / 1.319 GB, free: 6.684 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.4238, allocations: 51.41 kB / 1.319 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.4239, allocations: 109.8 kB / 1.319 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.4239, allocations: 33.7 kB / 1.319 GB, free: 6.465 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.424, allocations: 84.09 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.424, allocations: 11.95 kB / 1.319 GB, free: 6.367 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.424, allocations: 13.72 kB / 1.319 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001427/0.4242, allocations: 318.8 kB / 1.319 GB, free: 6.027 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4243, allocations: 31.97 kB / 1.319 GB, free: 5.996 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.4244, allocations: 31.95 kB / 1.319 GB, free: 5.965 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.4247, allocations: 68.8 kB / 1.32 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4247, allocations: 3.938 kB / 1.32 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.000296/0.425, allocations: 109.5 kB / 1.32 GB, free: 5.777 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.425, allocations: 4 kB / 1.32 GB, free: 5.773 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.425, allocations: 4 kB / 1.32 GB, free: 5.77 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.425, allocations: 0 / 1.32 GB, free: 5.77 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4251, allocations: 19.92 kB / 1.32 GB, free: 5.75 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.4251, allocations: 0 / 1.32 GB, free: 5.75 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.4252, allocations: 11.98 kB / 1.32 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4252, allocations: 0 / 1.32 GB, free: 5.738 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 9.515e-05/0.4253, allocations: 123 kB / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4253, allocations: 0 / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.4257, allocations: 109.5 kB / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4257, allocations: 0 / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4257, allocations: 0 / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4257, allocations: 0 / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.4258, allocations: 144.6 kB / 1.32 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4258, allocations: 0 / 1.32 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.4259, allocations: 23.97 kB / 1.32 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4259, allocations: 0 / 1.32 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.426, allocations: 0 / 1.32 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.426, allocations: 0 / 1.32 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.426, allocations: 4 kB / 1.32 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.4263, allocations: 199.4 kB / 1.32 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.4263, allocations: 4.359 kB / 1.32 GB, free: 5.059 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4263, allocations: 3.984 kB / 1.32 GB, free: 5.055 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4264, allocations: 15.98 kB / 1.32 GB, free: 5.039 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4265, allocations: 4 kB / 1.32 GB, free: 5.035 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.4265, allocations: 3.938 kB / 1.32 GB, free: 5.031 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.67e-05/0.4265, allocations: 87.27 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4265, allocations: 0 / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002107/0.4267, allocations: 8 kB / 1.32 GB, free: 4.938 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.0001075/0.4268, allocations: 95.25 kB / 1.32 GB, free: 4.836 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003227/0.4272, allocations: 75.91 kB / 1.321 GB, free: 4.762 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4272, allocations: 0 / 1.321 GB, free: 4.762 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4273, allocations: 43.89 kB / 1.321 GB, free: 4.719 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.4276, allocations: 14.98 kB / 1.321 GB, free: 4.707 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.4279, allocations: 125.3 kB / 1.321 GB, free: 4.559 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4283, allocations: 0.6768 MB / 1.321 GB, free: 3.855 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.03e-05/0.4283, allocations: 4 kB / 1.321 GB, free: 3.852 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.4283, allocations: 7.438 kB / 1.321 GB, free: 3.844 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.4283, allocations: 7.938 kB / 1.321 GB, free: 3.836 MB / 1.014 GB
Notification: Performance of Templates: time 0.003123/0.4314, allocations: 0.6861 MB / 1.322 GB, free: 3.152 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.213758827187121]