Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.002109/0.002109, allocations: 113.9 kB / 18.94 MB, free: 2.801 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.00216/0.00216, allocations: 185.9 kB / 22.23 MB, free: 5.215 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.598/1.598, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.924/2.924, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.88 kB / 1.11 GB, free: 6.301 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.236, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002549/1.238, allocations: 0.7775 MB / 1.275 GB, free: 3.41 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001264/1.239, allocations: 0.8701 MB / 1.276 GB, free: 2.527 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/1.239, allocations: 4 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.952e-05/1.239, allocations: 7.875 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.989e-05/1.24, allocations: 7.922 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002041/1.24, allocations: 43.89 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001477/1.24, allocations: 83.83 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/1.24, allocations: 23.91 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/1.24, allocations: 43.84 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/1.24, allocations: 51.81 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.763e-05/1.24, allocations: 8 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/1.24, allocations: 8 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.654e-05/1.24, allocations: 23.92 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.984e-05/1.24, allocations: 31.86 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001692/1.241, allocations: 91.31 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.241, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.144e-06/1.241, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.931e-06/1.241, allocations: 3.938 kB / 1.276 GB, free: 2.105 MB / 0.9669 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.0006944/1.241, allocations: 316.7 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.241, allocations: 12.02 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/1.241, allocations: 16.83 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/1.242, allocations: 122.4 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/1.242, allocations: 384 / 1.277 GB, free: 1.598 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/1.242, allocations: 8.375 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/1.242, allocations: 105.5 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.242, allocations: 3.984 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/1.242, allocations: 0 / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.242, allocations: 4 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/1.242, allocations: 107.8 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/1.243, allocations: 303.8 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/1.243, allocations: 122.5 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/1.244, allocations: 56.8 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.244, allocations: 0 / 1.277 GB, free: 0.8398 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.244, allocations: 34.56 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 7.81e-07/1.244, allocations: 0 / 1.278 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.0006518/1.244, allocations: 181.5 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.244, allocations: 55.41 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.245, allocations: 133.6 kB / 1.278 GB, free: 416 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.245, allocations: 25.7 kB / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/1.245, allocations: 96.03 kB / 1.278 GB, free: 284 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/1.245, allocations: 27.84 kB / 1.278 GB, free: 256 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/1.245, allocations: 17.72 kB / 1.278 GB, free: 232 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001584/1.245, allocations: 322.8 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/1.245, allocations: 43.95 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/1.245, allocations: 47.94 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/1.246, allocations: 100.8 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.246, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000385/1.246, allocations: 137.6 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.246, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.246, allocations: 8 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.246, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.246, allocations: 31.89 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.246, allocations: 0.5469 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/1.246, allocations: 19.86 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/1.246, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 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,max1.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.0001061/1.246, allocations: 113.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/1.246, allocations: 7.953 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/1.247, allocations: 161.9 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.247, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/1.247, allocations: 3.938 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.247, allocations: 3.938 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/1.247, allocations: 168.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.247, allocations: 8 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/1.247, allocations: 23.97 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.247, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.247, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.247, allocations: 3.938 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.247, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/1.248, allocations: 239.3 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/1.248, allocations: 7.953 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/1.248, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/1.248, allocations: 15.97 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/1.248, allocations: 27.84 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/1.248, allocations: 4 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.451e-05/1.248, allocations: 95.27 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/1.248, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002356/1.248, allocations: 12 kB / 1.28 GB, free: 14.54 MB / 0.9825 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 (max1.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.0001335/1.249, allocations: 98.2 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000421/1.249, allocations: 107.9 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.249, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.249, allocations: 63.89 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/1.25, allocations: 11.98 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/1.25, allocations: 174 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.25, allocations: 0.6923 MB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 6.935e-05/1.25, allocations: 15.98 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/1.25, allocations: 15.44 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of SimCode: time 5.01e-07/1.25, allocations: 0 / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of Templates: time 0.005128/1.256, allocations: 1.632 MB / 1.282 GB, free: 11.69 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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: 10.11149328853935]