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.516/2.516, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.001001/0.001001, allocations: 184.7 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0008641/0.000864, allocations: 95.84 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.529e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3502, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.468, allocations: 149.9 MB / 1.365 GB, free: 4.207 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.469, allocations: 68.61 kB / 1.365 GB, free: 4.172 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004794/1.474, allocations: 1.444 MB / 1.367 GB, free: 2.895 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.154e-06/1.474, allocations: 4 kB / 1.367 GB, free: 2.891 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.474, allocations: 0 / 1.367 GB, free: 2.891 MB / 0.823 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.0005874/1.474, allocations: 378.3 kB / 1.367 GB, free: 2.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.474, allocations: 8.031 kB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/1.474, allocations: 11.91 kB / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.475, allocations: 178.5 kB / 1.367 GB, free: 2.25 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.475, allocations: 4 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/1.475, allocations: 7.625 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/1.475, allocations: 81.28 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.475, allocations: 0 / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.475, allocations: 0 / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.475, allocations: 0 / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/1.475, allocations: 48.38 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/1.476, allocations: 344.5 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/1.476, allocations: 95.59 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/1.476, allocations: 34.22 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.476, allocations: 8 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.476, allocations: 34.06 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/1.476, allocations: 0 / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003049/1.477, allocations: 97.91 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.477, allocations: 55.34 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.477, allocations: 113.1 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.477, allocations: 33 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/1.477, allocations: 91.3 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/1.477, allocations: 22.88 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/1.477, allocations: 0 / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.477, allocations: 318 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/1.477, allocations: 21.69 kB / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/1.477, allocations: 22.61 kB / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/1.477, allocations: 18.84 kB / 1.369 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.477, allocations: 0 / 1.369 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/1.477, allocations: 97.25 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.477, allocations: 4 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.477, allocations: 7.984 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.478, allocations: 3.953 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/1.478, allocations: 30.78 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.478, allocations: 0 / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/1.478, allocations: 19.98 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/1.478, allocations: 4.609 kB / 1.369 GB, free: 0.7188 MB / 0.823 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 () * 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.389e-05/1.478, allocations: 112.2 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/1.478, allocations: 7.844 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/1.478, allocations: 11.88 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.478, allocations: 0 / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.478, allocations: 3.953 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.478, allocations: 0 / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/1.478, allocations: 203.7 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.478, allocations: 0 / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/1.478, allocations: 31.97 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.478, allocations: 3.938 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.479, allocations: 0 / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.479, allocations: 4 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.479, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/1.479, allocations: 191.5 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/1.479, allocations: 89 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/1.479, allocations: 7.25 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.479, allocations: 15.98 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.479, allocations: 25.17 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.479, allocations: 0 / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.392e-05/1.479, allocations: 99.03 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.479, allocations: 0 / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002391/1.48, allocations: 19.81 kB / 1.369 GB, free: 15.88 MB / 0.8386 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 () * 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.0001957/1.48, allocations: 111.1 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001945/1.48, allocations: 55.55 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.48, allocations: 3.938 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/1.48, allocations: 44.92 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/1.48, allocations: 4.812 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/1.481, allocations: 108.3 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.481, allocations: 0.6965 MB / 1.37 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.352e-05/1.481, allocations: 12.19 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/1.481, allocations: 18.61 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of SimCode: time 1.512e-06/1.481, allocations: 0 / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.004716/1.486, allocations: 1.313 MB / 1.372 GB, free: 13.52 MB / 0.8386 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