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.001985/0.001985, allocations: 110.8 kB / 16.41 MB, free: 6.473 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.001952/0.001952, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.83 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002511/1.097, allocations: 0.7581 MB / 1.227 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001315/1.098, allocations: 0.8701 MB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/1.098, allocations: 0 / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/1.098, allocations: 11.81 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/1.098, allocations: 11.92 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/1.099, allocations: 43.88 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/1.099, allocations: 83.83 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/1.099, allocations: 27.98 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/1.099, allocations: 35.84 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/1.099, allocations: 47.83 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/1.099, allocations: 8 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/1.099, allocations: 8 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/1.099, allocations: 27.89 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/1.099, allocations: 31.8 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/1.099, allocations: 83.23 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.099, allocations: 8 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/1.099, allocations: 0 / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.59e-06/1.099, allocations: 0 / 1.228 GB, free: 11.46 MB / 0.9512 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.0006867/1.1, allocations: 396.1 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.1, allocations: 11.97 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/1.1, allocations: 8.891 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.1, allocations: 172.3 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/1.1, allocations: 8.375 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/1.1, allocations: 12.36 kB / 1.229 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/1.101, allocations: 104.9 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.101, allocations: 4 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.101, allocations: 4 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/1.101, allocations: 0 / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/1.101, allocations: 103.8 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/1.102, allocations: 344.7 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/1.102, allocations: 118.4 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/1.103, allocations: 64.88 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/1.103, allocations: 0 / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/1.103, allocations: 34.56 kB / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/1.103, allocations: 3.938 kB / 1.23 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006628/1.103, allocations: 189.7 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/1.103, allocations: 51.41 kB / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.104, allocations: 121.8 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.104, allocations: 25.7 kB / 1.23 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/1.104, allocations: 100 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/1.104, allocations: 19.86 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/1.104, allocations: 21.7 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.104, allocations: 330.8 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/1.104, allocations: 43.95 kB / 1.231 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/1.104, allocations: 48.02 kB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/1.105, allocations: 100.8 kB / 1.231 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.105, allocations: 0 / 1.231 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004037/1.105, allocations: 141.5 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.105, allocations: 4 kB / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.105, allocations: 0 / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.105, allocations: 0 / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.105, allocations: 31.91 kB / 1.231 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.105, allocations: 4 kB / 1.231 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.105, allocations: 15.86 kB / 1.231 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.105, allocations: 4 kB / 1.231 GB, free: 8.652 MB / 0.9512 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.0001202/1.106, allocations: 117.8 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/1.106, allocations: 7.953 kB / 1.231 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/1.106, allocations: 12.38 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.106, allocations: 0 / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.106, allocations: 7.938 kB / 1.231 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/1.106, allocations: 89 kB / 1.231 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/1.106, allocations: 3.984 kB / 1.231 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/1.106, allocations: 11.98 kB / 1.231 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.106, allocations: 15.98 kB / 1.231 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006058/1.107, allocations: 236.8 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006384/1.107, allocations: 310.6 kB / 1.232 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002225/1.108, allocations: 59.94 kB / 1.232 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.03e-05/1.108, allocations: 99.7 kB / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/1.108, allocations: 0 / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007283/1.108, allocations: 142.3 kB / 1.232 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000936/1.109, allocations: 0.6116 MB / 1.233 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.006601/1.116, allocations: 1.74 MB / 1.234 GB, free: 5.113 MB / 0.9512 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