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.001545/0.001545, allocations: 112.9 kB / 16.37 MB, free: 6.012 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.001687/0.001687, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.16 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3465, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002423/0.349, allocations: 0.7977 MB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3503, allocations: 0.8545 MB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.3504, allocations: 0 / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.3505, allocations: 7.875 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.3506, allocations: 7.922 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.3508, allocations: 43.89 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3509, allocations: 83.83 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.351, allocations: 27.97 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.3511, allocations: 43.84 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.3512, allocations: 47.81 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.3513, allocations: 8 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.3513, allocations: 8 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.3513, allocations: 19.92 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.3514, allocations: 31.8 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3515, allocations: 91.8 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3516, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3516, allocations: 3.938 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3516, allocations: 4 kB / 1.029 GB, free: 15.94 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.000653/0.3522, allocations: 392.2 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3523, allocations: 8.031 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3523, allocations: 8.844 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3525, allocations: 184.1 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.3525, allocations: 8.375 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3526, allocations: 8.375 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.3529, allocations: 101.7 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3529, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3529, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3529, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.3533, allocations: 99.91 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.3539, allocations: 336.6 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.3546, allocations: 122.6 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.3548, allocations: 64.75 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3548, allocations: 3.984 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3548, allocations: 30.56 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3548, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006494/0.3555, allocations: 185.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3555, allocations: 51.41 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3557, allocations: 125.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3557, allocations: 29.7 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.3558, allocations: 92.05 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3558, allocations: 19.75 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3559, allocations: 29.64 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.356, allocations: 326.7 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3562, allocations: 51.89 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3563, allocations: 43.95 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.3566, allocations: 100.8 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3566, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003674/0.357, allocations: 133.5 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.357, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.357, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3571, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3572, allocations: 31.91 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3573, allocations: 4.547 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3574, allocations: 19.91 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3574, allocations: 4 kB / 1.031 GB, free: 13.14 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.139e-05/0.3575, allocations: 117.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.3575, allocations: 7.906 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.3576, allocations: 8.375 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3576, allocations: 4 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3576, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3576, allocations: 7.922 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3578, allocations: 197.6 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3578, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.358, allocations: 23.97 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.358, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.358, allocations: 11.97 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.358, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.358, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.3585, allocations: 247.2 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3585, allocations: 81.02 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3585, allocations: 4 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3587, allocations: 15.98 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.3588, allocations: 27.97 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3588, allocations: 3.938 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.3588, allocations: 95.27 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3588, allocations: 3.938 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000228/0.3591, allocations: 12 kB / 1.032 GB, free: 12.2 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.0001344/0.3592, allocations: 99.25 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.3596, allocations: 111.8 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3596, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3598, allocations: 59.95 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3602, allocations: 19.17 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.3606, allocations: 170.3 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3609, allocations: 0.6923 MB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.245e-05/0.361, allocations: 15.98 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.3611, allocations: 19.44 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3611, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.004167/0.3653, allocations: 1.567 MB / 1.035 GB, free: 9.398 MB / 0.8106 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 -s gbode -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