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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001233/0.001233, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01109/0.01109, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.837/2.837, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004054, allocations: 19.94 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9609/0.9614, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001211/0.9626, allocations: 0.493 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.9642, allocations: 0.8624 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.9643, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.9644, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.9645, allocations: 3.938 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.9647, allocations: 35.97 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.9648, allocations: 83.75 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.965, allocations: 31.97 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.9651, allocations: 31.8 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.9652, allocations: 43.81 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.9653, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.9653, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.9653, allocations: 11.92 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.9654, allocations: 57.55 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.9656, allocations: 79.64 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9656, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9656, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.9656, allocations: 0 / 1.025 GB, free: 14.08 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.0006847/0.9663, allocations: 385.3 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.9664, allocations: 12.03 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.9664, allocations: 12.84 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.9666, allocations: 180.2 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.9666, allocations: 8.375 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.9667, allocations: 4.375 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.9671, allocations: 117.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9671, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.9671, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.9671, allocations: 4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.9676, allocations: 123.9 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.9683, allocations: 348.5 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.969, allocations: 134.5 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.9693, allocations: 68.81 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.9693, allocations: 3.984 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.9694, allocations: 38.55 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.9694, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0008286/0.9702, allocations: 213.5 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.9703, allocations: 51.41 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.9704, allocations: 129.8 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.9704, allocations: 25.7 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.9705, allocations: 95.98 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.9705, allocations: 23.72 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.9706, allocations: 21.66 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9707, allocations: 326.8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.971, allocations: 51.95 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.9711, allocations: 60.27 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.9716, allocations: 120.9 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9716, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000459/0.972, allocations: 157.5 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.9721, allocations: 8 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9721, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.9721, allocations: 3.938 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.9723, allocations: 35.91 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9723, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.9724, allocations: 23.83 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.9724, allocations: 11.98 kB / 1.027 GB, free: 11.12 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 0.0001154/0.9726, allocations: 113.8 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.9726, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.9727, allocations: 12.38 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.9727, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9727, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.9727, allocations: 3.938 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.9729, allocations: 205.5 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9729, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.9731, allocations: 27.97 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.9731, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.9731, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9731, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9731, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.9737, allocations: 259.3 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.9737, allocations: 85 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.9737, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.9739, allocations: 19.98 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.974, allocations: 23.97 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.974, allocations: 7.938 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.9741, allocations: 95.2 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9741, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002354/0.9743, allocations: 19.94 kB / 1.028 GB, free: 10.15 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.000146/0.9745, allocations: 103.2 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.9749, allocations: 131.8 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9749, allocations: 4 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.9752, allocations: 63.95 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.9756, allocations: 18 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.9762, allocations: 201.2 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.9766, allocations: 0.6887 MB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.168e-05/0.9767, allocations: 15.98 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.9767, allocations: 11.44 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.9767, allocations: 0 / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.004405/0.9812, allocations: 1.341 MB / 1.031 GB, free: 7.531 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/jenkins/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