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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008913/0.008913, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001844/0.001844, allocations: 191 kB / 16.67 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.086, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002979/1.089, allocations: 0.7767 MB / 1.208 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00181/1.091, allocations: 0.8585 MB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/1.091, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/1.091, allocations: 11.86 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/1.092, allocations: 11.88 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/1.092, allocations: 35.94 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/1.092, allocations: 95.77 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/1.092, allocations: 23.98 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/1.093, allocations: 39.84 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/1.093, allocations: 47.81 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/1.093, allocations: 8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/1.093, allocations: 8 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/1.093, allocations: 23.97 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/1.093, allocations: 35.8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/1.093, allocations: 91.59 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.093, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/1.093, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.093, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 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.0007989/1.094, allocations: 393 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.094, allocations: 8.031 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/1.094, allocations: 16.78 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/1.094, allocations: 172.2 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/1.094, allocations: 4.375 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/1.094, allocations: 8.375 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/1.095, allocations: 109.5 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.095, allocations: 0 / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/1.095, allocations: 3.938 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/1.095, allocations: 0 / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/1.095, allocations: 99.91 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/1.096, allocations: 344.6 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/1.096, allocations: 126.5 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/1.096, allocations: 56.81 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.097, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.097, allocations: 30.56 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.097, allocations: 0 / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000709/1.097, allocations: 193.4 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/1.097, allocations: 51.41 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.097, allocations: 129.7 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.097, allocations: 29.7 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/1.098, allocations: 99.98 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/1.098, allocations: 23.75 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/1.098, allocations: 21.7 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.098, allocations: 318.8 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/1.098, allocations: 47.95 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/1.098, allocations: 43.95 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/1.099, allocations: 93.25 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.099, allocations: 0 / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004184/1.099, allocations: 149.4 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.099, allocations: 4 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.099, allocations: 4 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.099, allocations: 4 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.099, allocations: 23.97 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.099, allocations: 0 / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.099, allocations: 19.92 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/1.099, allocations: 3.984 kB / 1.212 GB, free: 8.727 MB / 0.9356 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.872e-05/1.099, allocations: 113.8 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/1.1, allocations: 15.89 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/1.1, allocations: 8.375 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.1, allocations: 0 / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.1, allocations: 4 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.1, allocations: 7.938 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/1.1, allocations: 197.5 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.1, allocations: 3.938 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.1, allocations: 27.91 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.1, allocations: 0 / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.1, allocations: 8 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.1, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.1, allocations: 7.922 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/1.101, allocations: 227.4 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/1.101, allocations: 85 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/1.101, allocations: 4 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/1.101, allocations: 15.98 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/1.101, allocations: 27.91 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/1.101, allocations: 4 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.4e-05/1.101, allocations: 91.27 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.101, allocations: 0 / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002421/1.101, allocations: 15.94 kB / 1.213 GB, free: 7.777 MB / 0.9356 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.0001567/1.101, allocations: 107.2 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004412/1.102, allocations: 103.9 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.102, allocations: 0 / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/1.102, allocations: 63.89 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/1.102, allocations: 8 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/1.103, allocations: 186.1 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/1.103, allocations: 0.6924 MB / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.927e-05/1.103, allocations: 8 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/1.103, allocations: 23.42 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/1.103, allocations: 0 / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.004727/1.108, allocations: 1.59 MB / 1.216 GB, free: 4.953 MB / 0.9356 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/jenkins/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