Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.038/3.038, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 12.19 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4418, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001202/0.4431, allocations: 479.5 kB / 1.058 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4445, allocations: 0.8586 MB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.4446, allocations: 4 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.4447, allocations: 3.938 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.4448, allocations: 7.922 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.445, allocations: 35.95 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.4451, allocations: 79.67 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4453, allocations: 19.98 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.4454, allocations: 27.91 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4455, allocations: 39.83 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.4455, allocations: 4 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.4456, allocations: 4 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.4456, allocations: 19.91 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.4456, allocations: 33.64 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.4458, allocations: 63.84 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.4458, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4458, allocations: 8 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4458, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 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.0006891/0.4465, allocations: 383.3 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4465, allocations: 11.97 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.4466, allocations: 15.84 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.4468, allocations: 171 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.4468, allocations: 8 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.4469, allocations: 7.953 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.4472, allocations: 116.4 kB / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4472, allocations: 4 kB / 1.06 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4473, allocations: 4 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4473, allocations: 4 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.4477, allocations: 115.8 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.4484, allocations: 340.7 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.449, allocations: 134.5 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.4493, allocations: 68.81 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.4493, allocations: 0 / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.4493, allocations: 34.56 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4494, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007556/0.4501, allocations: 217.5 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4502, allocations: 51.41 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.4503, allocations: 125.8 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.4504, allocations: 29.7 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.4504, allocations: 95.98 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.4505, allocations: 19.73 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.4505, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4507, allocations: 326.8 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.4509, allocations: 51.95 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.4511, allocations: 63.94 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.4513, allocations: 51.95 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4513, allocations: 0 / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004705/0.4518, allocations: 161.5 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4518, allocations: 8 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4518, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4518, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.452, allocations: 35.91 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4521, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4522, allocations: 15.98 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4522, allocations: 8 kB / 1.062 GB, free: 0.7422 MB / 0.8106 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.4523, allocations: 121.8 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.4524, allocations: 7.906 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.4529, allocations: 166 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4529, allocations: 0 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4529, allocations: 4 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4529, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.4532, allocations: 205.5 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4532, allocations: 7.938 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4534, allocations: 35.91 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.4534, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4534, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4534, allocations: 4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4535, allocations: 3.984 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.454, allocations: 256 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.4541, allocations: 93 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.4541, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.4542, allocations: 15.98 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.4543, allocations: 19.97 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.4543, allocations: 4 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.4544, allocations: 99.58 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4544, allocations: 7.938 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002446/0.4547, allocations: 16 kB / 1.063 GB, free: 15.6 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.4549, allocations: 103.2 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004543/0.4553, allocations: 135.9 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4553, allocations: 0 / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.4556, allocations: 75.88 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.456, allocations: 11.95 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.4565, allocations: 185.3 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4568, allocations: 0.6965 MB / 1.064 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.441e-05/0.4569, allocations: 8.188 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.457, allocations: 19.42 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.457, allocations: 0 / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.004292/0.4613, allocations: 1.296 MB / 1.066 GB, free: 13.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches