Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.427/2.427, 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.001461/0.001461, allocations: 194.4 kB / 0.4902 GB, free: 2.297 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.609/1.609, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.0009628/0.0009626, allocations: 113.4 kB / 0.9397 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005336, allocations: 10.25 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4374, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.6406, allocations: 149.9 MB / 1.376 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.6409, allocations: 63.97 kB / 1.376 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004766/0.6457, allocations: 1.443 MB / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6457, allocations: 4 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.6457, allocations: 0 / 1.377 GB, free: 2.094 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.0006342/0.6464, allocations: 392 kB / 1.377 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.6464, allocations: 12.56 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.6465, allocations: 7.906 kB / 1.377 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.6467, allocations: 174.9 kB / 1.378 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6467, allocations: 4 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.6467, allocations: 8 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.6471, allocations: 121.5 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6471, allocations: 0 / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.6471, allocations: 0 / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6471, allocations: 3.984 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.6475, allocations: 123.3 kB / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.6481, allocations: 336.7 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.6488, allocations: 134.5 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.6488, allocations: 0 / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.6489, allocations: 34.56 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.6489, allocations: 0 / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007278/0.6496, allocations: 225.5 kB / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6497, allocations: 51.41 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.6498, allocations: 113 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.6498, allocations: 29.7 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.6499, allocations: 104 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.6499, allocations: 11.75 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.6499, allocations: 8 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6501, allocations: 314.8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.6503, allocations: 55.95 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.6505, allocations: 59.95 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.6507, allocations: 57.58 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6507, allocations: 0 / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004795/0.6512, allocations: 161.5 kB / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6512, allocations: 4 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6512, allocations: 0 / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.6512, allocations: 0 / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.6514, allocations: 31.92 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.6515, allocations: 11.98 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6516, allocations: 15.98 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.6516, allocations: 0 / 1.38 GB, free: 15.34 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 (sub.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.0001218/0.6518, allocations: 117.8 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.6518, allocations: 11.84 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.6519, allocations: 16.36 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6519, allocations: 8 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6519, allocations: 3.953 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6519, allocations: 0 / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.6521, allocations: 193.6 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6522, allocations: 3.984 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.6524, allocations: 31.97 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6524, allocations: 3.938 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.6524, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6524, allocations: 8 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6525, allocations: 3.938 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.653, allocations: 259.3 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.6531, allocations: 88.95 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.6531, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.6532, allocations: 15.98 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.6533, allocations: 23.97 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.6534, allocations: 7.984 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.278e-05/0.6534, allocations: 91.27 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6534, allocations: 0 / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002345/0.6537, allocations: 19.95 kB / 1.38 GB, free: 14.35 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 (sub.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.0001603/0.6538, allocations: 112.1 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.6543, allocations: 123.9 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6543, allocations: 0 / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.6545, allocations: 76.72 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.6548, allocations: 12.7 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.6553, allocations: 189.3 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6556, allocations: 0.6965 MB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.6557, allocations: 8.188 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.6557, allocations: 23.42 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.6557, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of Templates: time 0.00378/0.6595, allocations: 1.29 MB / 1.383 GB, free: 11.76 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches