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.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.3 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.001044/0.001044, allocations: 180.7 kB / 487.4 MB, free: 5.02 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.647/1.647, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 102.7 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.172e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3234, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9779/1.301, allocations: 148.4 MB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/1.302, allocations: 72.33 kB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004873/1.307, allocations: 1.425 MB / 1.352 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.307, allocations: 5.281 kB / 1.352 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.307, allocations: 6.062 kB / 1.352 GB, free: 34.03 MB / 0.8386 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.00048/1.307, allocations: 374 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.307, allocations: 9.562 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/1.307, allocations: 7.812 kB / 1.353 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.307, allocations: 185.1 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.307, allocations: 2.656 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/1.307, allocations: 3.312 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001338/1.308, allocations: 42.64 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.308, allocations: 81.83 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.308, allocations: 0 / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.308, allocations: 0 / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.308, allocations: 3.984 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/1.308, allocations: 317.6 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/1.309, allocations: 88.8 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/1.309, allocations: 31.56 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/1.309, allocations: 7.422 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/1.309, allocations: 34.56 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/1.309, allocations: 0 / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002114/1.309, allocations: 85.94 kB / 1.354 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/1.309, allocations: 51.41 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/1.309, allocations: 112.3 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.309, allocations: 25.7 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/1.309, allocations: 97.02 kB / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/1.309, allocations: 24.7 kB / 1.354 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/1.309, allocations: 4 kB / 1.354 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.309, allocations: 316.7 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/1.309, allocations: 24.02 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/1.309, allocations: 19.36 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/1.309, allocations: 24.98 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.309, allocations: 0 / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001279/1.31, allocations: 80.69 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.31, allocations: 3.875 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.31, allocations: 0 / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.31, allocations: 8.469 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/1.31, allocations: 30.33 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.31, allocations: 0.5625 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/1.31, allocations: 24.36 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.31, allocations: 7.453 kB / 1.354 GB, free: 32.4 MB / 0.8386 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 8.651e-05/1.31, allocations: 108.9 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/1.31, allocations: 4.422 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/1.31, allocations: 9.031 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.31, allocations: 3.875 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.31, allocations: 0 / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.31, allocations: 0.7031 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/1.31, allocations: 180.2 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.31, allocations: 0 / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/1.311, allocations: 31.75 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.311, allocations: 3.875 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.311, allocations: 0.8438 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.311, allocations: 0.7969 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.311, allocations: 3.938 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/1.311, allocations: 183 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/1.311, allocations: 85.58 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/1.311, allocations: 3.938 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.311, allocations: 22.03 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/1.311, allocations: 18.64 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/1.311, allocations: 8.219 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.407e-05/1.311, allocations: 90.3 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.311, allocations: 0 / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002211/1.311, allocations: 15.62 kB / 1.355 GB, free: 31.79 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.0001481/1.312, allocations: 108.2 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.312, allocations: 51.58 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.312, allocations: 0 / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/1.312, allocations: 39.98 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/1.312, allocations: 13.56 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/1.312, allocations: 106.7 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/1.313, allocations: 0.6976 MB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.73e-05/1.313, allocations: 10 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/1.313, allocations: 21.03 kB / 1.356 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.313, allocations: 0 / 1.356 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.003612/1.316, allocations: 1.229 MB / 1.357 GB, free: 30.82 MB / 0.8386 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