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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.373/2.373, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 180 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 110.7 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 10.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4987, allocations: 149.9 MB / 1.376 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4989, allocations: 71.95 kB / 1.376 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004669/0.5036, allocations: 1.431 MB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5037, allocations: 4 kB / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.5037, allocations: 0 / 1.377 GB, free: 2.051 MB / 0.8698 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.0005938/0.5043, allocations: 387.1 kB / 1.377 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5043, allocations: 12.03 kB / 1.377 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.5044, allocations: 7.906 kB / 1.378 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.5045, allocations: 174.9 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.5046, allocations: 8 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5046, allocations: 8 kB / 1.378 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.5049, allocations: 113.6 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.505, allocations: 3.984 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.505, allocations: 4 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.505, allocations: 0 / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.5054, allocations: 123.8 kB / 1.378 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.506, allocations: 340.7 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.5067, allocations: 142.5 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5067, allocations: 0 / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.5068, allocations: 38.55 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5068, allocations: 0 / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007378/0.5075, allocations: 217.6 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.5076, allocations: 63.33 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5077, allocations: 113 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5077, allocations: 25.7 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.5078, allocations: 95.98 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5078, allocations: 15.75 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.5079, allocations: 8.047 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.508, allocations: 318.8 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.5082, allocations: 51.95 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.5084, allocations: 59.95 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.5086, allocations: 57.58 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5086, allocations: 4 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004354/0.509, allocations: 161.5 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5091, allocations: 4 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.5091, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5091, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.5093, allocations: 39.86 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5093, allocations: 0.5469 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5095, allocations: 19.98 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5095, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 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.u1,max1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.5096, allocations: 119.3 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.5096, allocations: 7.906 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.5101, allocations: 173.9 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5101, allocations: 4 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5102, allocations: 7.891 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5102, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.5104, allocations: 201.6 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5104, allocations: 0 / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5106, allocations: 31.97 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5106, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5106, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5106, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5106, allocations: 3.984 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.5111, allocations: 267.2 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.5112, allocations: 92.94 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.5112, allocations: 0 / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5113, allocations: 15.98 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.5114, allocations: 27.91 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.5115, allocations: 3.938 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.5115, allocations: 95.27 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5115, allocations: 4 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002326/0.5118, allocations: 15.95 kB / 1.381 GB, free: 14.12 MB / 0.8855 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.u1,max1.u2,max1.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.000163/0.5119, allocations: 111.4 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.5124, allocations: 119.9 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5124, allocations: 0 / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.5126, allocations: 79.88 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5128, allocations: 8 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.5133, allocations: 189.3 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.5136, allocations: 0.6926 MB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.998e-05/0.5137, allocations: 16.17 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.5137, allocations: 15.44 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.5137, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of Templates: time 0.003625/0.5174, allocations: 1.308 MB / 1.383 GB, free: 11.54 MB / 0.8855 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches