Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001641/0.001641, allocations: 75.75 kB / 19.76 MB, free: 2.02 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.002489/0.002489, allocations: 155.5 kB / 23 MB, free: 4.957 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.598/1.598, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.719/2.719, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [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.002349/0.002349, allocations: 73.92 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.335, allocations: 169.9 MB / 1.117 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002814/0.3378, allocations: 0.7486 MB / 1.118 GB, free: 1.719 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3393, allocations: 0.8783 MB / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.3393, allocations: 0 / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.3394, allocations: 11.86 kB / 1.119 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3395, allocations: 11.88 kB / 1.119 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3397, allocations: 47.94 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3399, allocations: 87.77 kB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3401, allocations: 23.91 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3402, allocations: 39.84 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3403, allocations: 39.83 kB / 1.119 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3403, allocations: 8 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.3403, allocations: 8 kB / 1.119 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.3404, allocations: 27.91 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.3404, allocations: 27.86 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3406, allocations: 91.59 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3406, allocations: 0 / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3406, allocations: 4 kB / 1.119 GB, free: 416 kB / 1.061 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3406, allocations: 0 / 1.119 GB, free: 416 kB / 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.0007445/0.3414, allocations: 318 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3414, allocations: 12.03 kB / 1.12 GB, free: 56 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.3415, allocations: 12.89 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3417, allocations: 114.4 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3417, allocations: 4.375 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3417, allocations: 8.375 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.3421, allocations: 117.5 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3421, allocations: 3.938 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3421, allocations: 3.938 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3421, allocations: 0 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.3425, allocations: 95.91 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.343, allocations: 268.4 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.3437, allocations: 122.5 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3439, allocations: 56.81 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3439, allocations: 0 / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3439, allocations: 34.56 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.3439, allocations: 0 / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.00071/0.3446, allocations: 185.7 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.3447, allocations: 59.39 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3448, allocations: 125.8 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3449, allocations: 25.7 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.3449, allocations: 92.09 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.345, allocations: 15.84 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.345, allocations: 25.7 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3452, allocations: 326.8 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.3454, allocations: 43.95 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3456, allocations: 52.02 kB / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.346, allocations: 96.77 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.346, allocations: 4 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004536/0.3464, allocations: 137.5 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3464, allocations: 4 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3464, allocations: 0 / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3464, allocations: 0 / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3466, allocations: 23.97 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3466, allocations: 4 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3468, allocations: 23.86 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3468, allocations: 7.938 kB / 1.122 GB, free: 13.86 MB / 1.076 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,add1.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.0001141/0.3469, allocations: 113.8 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3469, allocations: 0 / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.3469, allocations: 16.44 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.347, allocations: 0 / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.347, allocations: 0 / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.347, allocations: 3.984 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3472, allocations: 145.1 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3472, allocations: 4 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.3473, allocations: 27.91 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3473, allocations: 4 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3474, allocations: 4 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3474, allocations: 3.938 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3474, allocations: 0 / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.3479, allocations: 235.3 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.3479, allocations: 4 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3479, allocations: 0 / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3481, allocations: 15.98 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.3481, allocations: 19.97 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3482, allocations: 7.984 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.548e-05/0.3482, allocations: 95.27 kB / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002485/0.3485, allocations: 19.95 kB / 1.122 GB, free: 13.1 MB / 1.076 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 (add1.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.0001358/0.3486, allocations: 103.1 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.3491, allocations: 99.89 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3491, allocations: 4 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.3493, allocations: 63.88 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3496, allocations: 15.39 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.3501, allocations: 174.1 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.766e-05/0.3502, allocations: 71.33 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.525e-05/0.3503, allocations: 15.94 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.3503, allocations: 24.48 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.3503, allocations: 3.938 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of Templates: time 0.004928/0.3553, allocations: 1.702 MB / 1.125 GB, free: 10.8 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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: 8.84059857192915]