Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Obsolete.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.Obsolete.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.643/2.643, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001112/0.001112, allocations: 176 kB / 0.4902 GB, free: 2.234 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.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001001/0.001001, allocations: 104.5 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 11.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3378, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.539, allocations: 150.6 MB / 1.376 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5393, allocations: 95.86 kB / 1.376 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004538/0.5438, allocations: 1.49 MB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5439, allocations: 0 / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.5439, allocations: 4 kB / 1.378 GB, free: 1.246 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.0005785/0.5445, allocations: 395.1 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5445, allocations: 8.562 kB / 1.378 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.5446, allocations: 7.906 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.5447, allocations: 182.8 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.5448, allocations: 8 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.5448, allocations: 8 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.5451, allocations: 111.9 kB / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.5451, allocations: 0 / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.5452, allocations: 4 kB / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5452, allocations: 4 kB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.5455, allocations: 123.8 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.5462, allocations: 340.7 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.5468, allocations: 146.5 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.5469, allocations: 3.938 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.5469, allocations: 30.56 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5469, allocations: 0 / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0006886/0.5476, allocations: 225.6 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.5476, allocations: 55.41 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.5477, allocations: 116.9 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.5478, allocations: 29.7 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.5478, allocations: 97.77 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.5479, allocations: 19.7 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5479, allocations: 7.938 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.548, allocations: 318.8 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.5482, allocations: 55.95 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.5484, allocations: 59.95 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.5486, allocations: 51.95 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5486, allocations: 4 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004204/0.549, allocations: 161.5 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5491, allocations: 4 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5491, allocations: 0 / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5491, allocations: 0 / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.5493, allocations: 35.92 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5493, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.5494, allocations: 27.92 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.5495, allocations: 0 / 1.38 GB, free: 14.45 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.0001001/0.5496, allocations: 117.8 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.5496, allocations: 7.906 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.5496, allocations: 8.375 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5496, allocations: 4 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5497, allocations: 3.953 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5497, allocations: 0 / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.5499, allocations: 209.5 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5499, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.5501, allocations: 31.97 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5501, allocations: 0 / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5501, allocations: 0 / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5501, allocations: 8 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5501, allocations: 3.984 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.5506, allocations: 259.3 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.5507, allocations: 89 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.5507, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5509, allocations: 15.98 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.551, allocations: 23.97 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.551, allocations: 4 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.5511, allocations: 103 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5511, allocations: 8 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002353/0.5513, allocations: 23.89 kB / 1.381 GB, free: 13.45 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.0001499/0.5515, allocations: 104 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.5519, allocations: 131.8 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.552, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.5522, allocations: 75.94 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5524, allocations: 4 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.5529, allocations: 202.2 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.5532, allocations: 0.6926 MB / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.056e-05/0.5533, allocations: 12.19 kB / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.5534, allocations: 15.42 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of SimCode: time 7.11e-07/0.5534, allocations: 3.938 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of Templates: time 0.003698/0.5571, allocations: 1.317 MB / 1.384 GB, free: 10.84 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches