Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001076/0.001076, allocations: 185 kB / 498.1 MB, free: 5.805 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.546/1.546, allocations: 223.2 MB / 0.7948 GB, free: 18.02 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.0009745/0.0009749, allocations: 110.8 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 11.03 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3186, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.5302, allocations: 149.1 MB / 1.369 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5306, allocations: 71.95 kB / 1.369 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004835/0.5355, allocations: 1.434 MB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5355, allocations: 0 / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.5355, allocations: 0 / 1.37 GB, free: 11.55 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.0006448/0.5362, allocations: 399 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5362, allocations: 8.031 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.5363, allocations: 7.906 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.5364, allocations: 190.8 kB / 1.371 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5365, allocations: 0 / 1.371 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.5365, allocations: 4 kB / 1.371 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.5368, allocations: 117.6 kB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5368, allocations: 0 / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.5369, allocations: 7.984 kB / 1.371 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.5369, allocations: 0 / 1.371 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.5373, allocations: 119.8 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.5379, allocations: 352.6 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.5386, allocations: 134.5 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5386, allocations: 4 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.5386, allocations: 30.56 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.5386, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007076/0.5393, allocations: 221.8 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.5394, allocations: 51.41 kB / 1.372 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5395, allocations: 113 kB / 1.372 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5396, allocations: 29.7 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.5396, allocations: 91.98 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.5397, allocations: 23.7 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5397, allocations: 3.938 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5398, allocations: 318.8 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.54, allocations: 55.95 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.5402, allocations: 60.02 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.5404, allocations: 59.95 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5404, allocations: 0 / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004381/0.5409, allocations: 149.6 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.5409, allocations: 8.781 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5409, allocations: 0 / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5409, allocations: 4 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.5411, allocations: 35.92 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5412, allocations: 0 / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5413, allocations: 23.83 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5413, allocations: 4 kB / 1.372 GB, free: 8.77 MB / 0.8698 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.0001086/0.5414, allocations: 125.8 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.5415, allocations: 4 kB / 1.373 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.5415, allocations: 12.38 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5415, allocations: 3.938 kB / 1.373 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5416, allocations: 3.953 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5416, allocations: 0 / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5418, allocations: 209.4 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5418, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.542, allocations: 31.97 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.542, allocations: 0 / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.542, allocations: 8 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.542, allocations: 0 / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.542, allocations: 0 / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.5425, allocations: 255.3 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.5426, allocations: 81.02 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.5426, allocations: 0 / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5428, allocations: 27.97 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5429, allocations: 19.97 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5429, allocations: 4 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.543, allocations: 95.27 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.543, allocations: 0 / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002532/0.5433, allocations: 15.95 kB / 1.373 GB, free: 7.793 MB / 0.8698 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.0002186/0.5435, allocations: 107 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004648/0.544, allocations: 139.8 kB / 1.374 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.544, allocations: 0 / 1.374 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.5442, allocations: 67.95 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.5444, allocations: 11.98 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.5449, allocations: 193.1 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.5453, allocations: 0.6965 MB / 1.375 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.972e-05/0.5454, allocations: 8.188 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.5454, allocations: 15.42 kB / 1.375 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-05/0.5455, allocations: 4 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of Templates: time 0.004384/0.5498, allocations: 1.312 MB / 1.376 GB, free: 5.195 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches