Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.00112/0.00112, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.8 MB / 0.7128 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 19.97 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6636, allocations: 153.8 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001053/0.6647, allocations: 0.5009 MB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.6657, allocations: 0.8507 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.6658, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.6658, allocations: 3.938 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.6659, allocations: 7.938 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.6661, allocations: 35.95 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.6662, allocations: 75.83 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.6664, allocations: 35.95 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.6665, allocations: 39.78 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.6666, allocations: 31.84 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.6666, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.6666, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.6666, allocations: 15.91 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.6667, allocations: 57.55 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.222e-05/0.6668, allocations: 59.86 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6668, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6668, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.6668, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 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.0006133/0.6675, allocations: 389.3 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6675, allocations: 12.03 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.6676, allocations: 8.844 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.6677, allocations: 172.2 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6677, allocations: 12.31 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.6678, allocations: 4.375 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.6681, allocations: 117.7 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6681, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.6681, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6682, allocations: 7.984 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.6686, allocations: 115.9 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.6692, allocations: 356.5 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.6698, allocations: 126.6 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.6701, allocations: 72.81 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.6701, allocations: 4 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.6701, allocations: 30.56 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6701, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000741/0.6709, allocations: 221.6 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.6709, allocations: 51.41 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.671, allocations: 117.8 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.6711, allocations: 29.7 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.6711, allocations: 100 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.6712, allocations: 15.75 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.6712, allocations: 17.72 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6713, allocations: 326.7 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.6715, allocations: 59.95 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.6717, allocations: 60.02 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.6721, allocations: 124.7 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6721, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004601/0.6726, allocations: 153.5 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6726, allocations: 4 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6726, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6727, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.6728, allocations: 35.97 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6729, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.673, allocations: 31.81 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.673, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 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.683e-05/0.6731, allocations: 117.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.6732, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.6732, allocations: 8.375 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.6732, allocations: 7.984 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6732, allocations: 4 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6732, allocations: 7.875 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.6734, allocations: 197.5 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6735, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.6736, allocations: 35.97 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6736, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6737, allocations: 7.984 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.6737, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6737, allocations: 4 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.6742, allocations: 255.3 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.6742, allocations: 85.02 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.6743, allocations: 4 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.6744, allocations: 15.98 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.6745, allocations: 23.95 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.6745, allocations: 7.938 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.045e-05/0.6746, allocations: 99.27 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6746, allocations: 3.938 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002478/0.6749, allocations: 15.94 kB / 1.029 GB, free: 10.3 MB / 0.7794 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.0001229/0.675, allocations: 103.2 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.6754, allocations: 127.9 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6755, allocations: 4 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.6757, allocations: 75.88 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.676, allocations: 6.391 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.6764, allocations: 223 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.6767, allocations: 0.6887 MB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.6768, allocations: 15.42 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6768, allocations: 0 / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of Templates: time 0.002853/0.6796, allocations: 1.224 MB / 1.031 GB, free: 7.793 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches