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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.352/3.352, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 69.48 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3598, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001973/0.3618, allocations: 0.7563 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3629, allocations: 0.8859 MB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.3629, allocations: 4 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.363, allocations: 7.875 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.363, allocations: 15.88 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.3632, allocations: 35.95 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3633, allocations: 87.81 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3634, allocations: 15.92 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.3635, allocations: 35.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.3636, allocations: 43.81 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3636, allocations: 8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.3636, allocations: 8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.3637, allocations: 23.92 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.3637, allocations: 39.83 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3638, allocations: 91.61 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3638, allocations: 3.938 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3638, allocations: 0 / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3639, allocations: 0 / 1.367 GB, free: 11.46 MB / 1.061 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.0006085/0.3645, allocations: 314 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3645, allocations: 12.03 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3645, allocations: 12.89 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3647, allocations: 118.4 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3647, allocations: 8.359 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3647, allocations: 12.38 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.365, allocations: 105.5 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.365, allocations: 4 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3651, allocations: 0 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3651, allocations: 0 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.3654, allocations: 95.91 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.3659, allocations: 276.3 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.3665, allocations: 110.6 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3667, allocations: 60.8 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3667, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3668, allocations: 34.56 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.3668, allocations: 4 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006742/0.3674, allocations: 177.5 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3675, allocations: 55.41 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3676, allocations: 121.8 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3676, allocations: 29.7 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3677, allocations: 92.08 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3677, allocations: 31.73 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3678, allocations: 25.7 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3679, allocations: 318.8 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3681, allocations: 47.94 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3683, allocations: 43.95 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.3686, allocations: 109.2 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3686, allocations: 0 / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004108/0.3691, allocations: 137.5 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3691, allocations: 8 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3691, allocations: 0 / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3691, allocations: 0 / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3693, allocations: 31.97 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3693, allocations: 0 / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3694, allocations: 11.98 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3694, allocations: 7.938 kB / 1.369 GB, free: 8.922 MB / 1.061 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.265e-05/0.3695, allocations: 113.8 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3695, allocations: 7.938 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3695, allocations: 12.38 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3695, allocations: 0 / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3696, allocations: 7.938 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3696, allocations: 4 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3697, allocations: 137.2 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3697, allocations: 0 / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3699, allocations: 23.97 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3699, allocations: 0 / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3699, allocations: 8 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3699, allocations: 0 / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3699, allocations: 0 / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.3704, allocations: 235.3 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.3704, allocations: 11.89 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3704, allocations: 3.984 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3706, allocations: 15.98 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.3707, allocations: 23.91 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.3707, allocations: 4 kB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.3707, allocations: 95.64 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3707, allocations: 0 / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002369/0.371, allocations: 20 kB / 1.37 GB, free: 8.152 MB / 1.061 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.0001311/0.3711, allocations: 103.2 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.3715, allocations: 99.89 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3715, allocations: 0 / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3717, allocations: 63.89 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.372, allocations: 11.3 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.3725, allocations: 200 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.3726, allocations: 75.33 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.3727, allocations: 19.36 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3727, allocations: 0 / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of Templates: time 0.003016/0.3757, allocations: 1.27 MB / 1.371 GB, free: 6.27 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.237969093956053]