Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.551/2.551, allocations: 393.5 MB / 408.5 MB, free: 11.11 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.001041/0.001041, allocations: 191.2 kB / 0.4902 GB, free: 2.336 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.592/1.592, allocations: 223.2 MB / 0.7992 GB, free: 14.77 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.0009598/0.0009597, allocations: 107.8 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003932, allocations: 7 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 143 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.5341, allocations: 149.9 MB / 1.376 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.5344, allocations: 67.95 kB / 1.376 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004495/0.5389, allocations: 1.424 MB / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5389, allocations: 0 / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.5389, allocations: 0 / 1.377 GB, free: 2.398 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.0005983/0.5395, allocations: 403 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5396, allocations: 8.031 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.5396, allocations: 11.84 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.5398, allocations: 175 kB / 1.378 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.5398, allocations: 4 kB / 1.378 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5398, allocations: 15.92 kB / 1.378 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.5402, allocations: 116 kB / 1.378 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.5402, allocations: 3.938 kB / 1.378 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5402, allocations: 0 / 1.378 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5402, allocations: 4 kB / 1.378 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.5406, allocations: 119.9 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.5412, allocations: 344.6 kB / 1.378 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.5419, allocations: 130.6 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5419, allocations: 160 / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.542, allocations: 30.56 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.542, allocations: 4 kB / 1.378 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007078/0.5427, allocations: 221.3 kB / 1.379 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.5427, allocations: 59.41 kB / 1.379 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.5428, allocations: 113.3 kB / 1.379 GB, free: 500 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.5429, allocations: 25.7 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.5429, allocations: 99.98 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.543, allocations: 15.8 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.543, allocations: 4 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5431, allocations: 310.8 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.5433, allocations: 63.95 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.5435, allocations: 55.89 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.5437, allocations: 55.95 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5437, allocations: 0 / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004345/0.5442, allocations: 169.4 kB / 1.38 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5442, allocations: 4 kB / 1.38 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5442, allocations: 0 / 1.38 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5442, allocations: 0 / 1.38 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.5444, allocations: 43.91 kB / 1.38 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5444, allocations: 0 / 1.38 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.5446, allocations: 15.98 kB / 1.38 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.5446, allocations: 0 / 1.38 GB, free: 15.62 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 (add1.u1,add1.u2,add1.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.000112/0.5447, allocations: 126.6 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.5447, allocations: 7.906 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.5448, allocations: 8.375 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5448, allocations: 4 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5448, allocations: 7.953 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5448, allocations: 0 / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.545, allocations: 193.6 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.545, allocations: 4 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.5452, allocations: 39.84 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5452, allocations: 0 / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5453, allocations: 0 / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5453, allocations: 0 / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5453, allocations: 0 / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.5458, allocations: 263.3 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.5459, allocations: 85.02 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.5459, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.546, allocations: 27.91 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.5461, allocations: 23.97 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.5461, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.5462, allocations: 99.31 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5462, allocations: 3.938 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002251/0.5464, allocations: 23.89 kB / 1.38 GB, free: 14.62 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 (add1.u1,add1.u2,add1.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.000161/0.5466, allocations: 99.25 kB / 1.381 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.5471, allocations: 133.4 kB / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5471, allocations: 0 / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.5473, allocations: 71.89 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5475, allocations: 9.141 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.548, allocations: 185.4 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5483, allocations: 0.6965 MB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.909e-05/0.5484, allocations: 12.19 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.5484, allocations: 15.42 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of SimCode: time 2.965e-06/0.5484, allocations: 0 / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.003516/0.552, allocations: 1.307 MB / 1.383 GB, free: 12.04 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches