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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007518/0.007518, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001953/0.001953, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.754/2.754, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 62.95 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3468, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002386/0.3492, allocations: 0.8304 MB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3503, allocations: 0.8701 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.3504, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.894e-05/0.3505, allocations: 3.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3506, allocations: 11.94 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.3508, allocations: 35.95 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.351, allocations: 87.67 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3511, allocations: 19.98 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3512, allocations: 43.83 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3513, allocations: 43.83 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3514, allocations: 4 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.3514, allocations: 4 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.3514, allocations: 23.91 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.3515, allocations: 31.8 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3516, allocations: 63.86 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3516, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3516, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3516, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 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.0007042/0.3523, allocations: 391.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3524, allocations: 8.031 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.3524, allocations: 12.84 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.3526, allocations: 180.2 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.3527, allocations: 4.375 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3527, allocations: 12.31 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.353, allocations: 109.7 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.353, allocations: 4 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3531, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3531, allocations: 3.984 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.3535, allocations: 95.91 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.3541, allocations: 348.6 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.3547, allocations: 118.6 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3549, allocations: 60.81 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.355, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.355, allocations: 34.56 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.355, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006894/0.3557, allocations: 185.4 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3557, allocations: 59.34 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.3558, allocations: 117.8 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3559, allocations: 29.69 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.3559, allocations: 92.05 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.356, allocations: 23.73 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.356, allocations: 25.7 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3561, allocations: 318.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3563, allocations: 51.95 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3565, allocations: 43.95 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.3568, allocations: 96.72 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3568, allocations: 4 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004026/0.3572, allocations: 137.5 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3573, allocations: 13.66 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3573, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3573, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3575, allocations: 23.97 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3575, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3576, allocations: 23.91 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3576, allocations: 0.5469 kB / 1.057 GB, free: 3.379 MB / 0.8106 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 9.867e-05/0.3577, allocations: 117.8 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3578, allocations: 7.906 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3578, allocations: 8.375 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3578, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3578, allocations: 0 / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3579, allocations: 11.92 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3581, allocations: 197.5 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3581, allocations: 0 / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3582, allocations: 23.97 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3583, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3583, allocations: 11.92 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3583, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3583, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.3587, allocations: 239.3 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.3588, allocations: 88.95 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3588, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.359, allocations: 15.98 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.3591, allocations: 15.97 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3591, allocations: 7.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.3591, allocations: 99.27 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3592, allocations: 0 / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002465/0.3594, allocations: 12 kB / 1.058 GB, free: 2.438 MB / 0.8106 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.0001538/0.3596, allocations: 103.2 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.36, allocations: 99.91 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.36, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3602, allocations: 59.89 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3605, allocations: 15.97 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.361, allocations: 213.7 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3613, allocations: 0.6965 MB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3614, allocations: 15.42 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/0.3614, allocations: 0 / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of Templates: time 0.002833/0.3642, allocations: 1.242 MB / 1.06 GB, free: 15.93 MB / 0.8262 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