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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 109.4 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 196.2 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 482.2 MB / 0.7548 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.59 kB / 0.9238 GB, free: 492 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.841, allocations: 162.2 MB / 1.082 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002222/0.8433, allocations: 0.8382 MB / 1.083 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.8442, allocations: 0.8594 MB / 1.084 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.8443, allocations: 0.5625 kB / 1.084 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.8443, allocations: 2.859 kB / 1.084 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.8444, allocations: 4.625 kB / 1.084 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.8446, allocations: 46.44 kB / 1.084 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.8448, allocations: 74.97 kB / 1.084 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.8449, allocations: 25.62 kB / 1.084 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.845, allocations: 40.55 kB / 1.084 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.8451, allocations: 47.98 kB / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.8451, allocations: 12.61 kB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.8452, allocations: 11.34 kB / 1.084 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.8452, allocations: 23.59 kB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.8452, allocations: 35.84 kB / 1.084 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.8454, allocations: 58.72 kB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8454, allocations: 1.859 kB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8454, allocations: 0 / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8454, allocations: 0 / 1.084 GB, free: 0.6094 MB / 0.8262 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.0005966/0.846, allocations: 388.9 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.846, allocations: 13.56 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.8461, allocations: 9.578 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.8462, allocations: 174.9 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.8462, allocations: 7.719 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.8463, allocations: 3.281 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.8466, allocations: 116.8 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8466, allocations: 3.938 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.8467, allocations: 6.188 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8467, allocations: 5.062 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.8471, allocations: 93.11 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.8477, allocations: 354 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.8484, allocations: 114.7 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.8486, allocations: 61.12 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.8486, allocations: 2.156 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8487, allocations: 40 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8487, allocations: 0 / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0007017/0.8494, allocations: 186.1 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8494, allocations: 53.27 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.8496, allocations: 123.5 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.8496, allocations: 26.64 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.8497, allocations: 96.95 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.8497, allocations: 19.5 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.8498, allocations: 24.11 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.85, allocations: 322.6 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.8502, allocations: 48.45 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.8504, allocations: 45.12 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.8507, allocations: 95.2 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8508, allocations: 0 / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004605/0.8512, allocations: 142.7 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.8513, allocations: 6.438 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8513, allocations: 0 / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8513, allocations: 0 / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.8515, allocations: 24.75 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8515, allocations: 1.062 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.8516, allocations: 16.17 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.8516, allocations: 11.33 kB / 1.087 GB, free: 14.66 MB / 0.8419 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 (reaToInt1.y,reaToInt.y,sub.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.8518, allocations: 114.3 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.8518, allocations: 7.141 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.8518, allocations: 14.89 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.8519, allocations: 1.156 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.8519, allocations: 4 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.8519, allocations: 9.531 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.8522, allocations: 197.9 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8522, allocations: 0 / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.8523, allocations: 28.73 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8524, allocations: 1.125 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.8524, allocations: 2.453 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8524, allocations: 0 / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8524, allocations: 4.969 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.8529, allocations: 238.6 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.853, allocations: 84 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.853, allocations: 1.625 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.8532, allocations: 16 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.8533, allocations: 19.98 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.8533, allocations: 11.3 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.8534, allocations: 97.47 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8534, allocations: 1.531 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002397/0.8536, allocations: 18.53 kB / 1.088 GB, free: 13.92 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.8538, allocations: 103.3 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.8542, allocations: 107.9 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8542, allocations: 0 / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.8544, allocations: 67 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8548, allocations: 5.031 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.8553, allocations: 225 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.8556, allocations: 0.6935 MB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.8557, allocations: 21.69 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.8557, allocations: 0 / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.003401/0.8591, allocations: 1.233 MB / 1.09 GB, free: 12.79 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches