Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001071/0.001071, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008321/0.0008321, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9001/0.9001, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.636/1.636, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.216e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00143/0.001462, allocations: 0.7028 MB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.002233, allocations: 0.8198 MB / 0.9533 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.002271, allocations: 0 / 0.9533 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.0023, allocations: 7.938 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.002363, allocations: 7.875 kB / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.19e-05/0.002425, allocations: 15.98 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.002503, allocations: 47.84 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.002606, allocations: 11.92 kB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.002679, allocations: 19.98 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.666e-05/0.002716, allocations: 23.91 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.002739, allocations: 7.938 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-06/0.002745, allocations: 4 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.002761, allocations: 4 kB / 0.9534 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.002783, allocations: 11.98 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.002869, allocations: 43.86 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.002871, allocations: 4 kB / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002872, allocations: 0 / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002876, allocations: 0 / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003823/0.003258, allocations: 286.2 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.003293, allocations: 8.031 kB / 0.9538 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.003324, allocations: 4.938 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.003408, allocations: 117.7 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.00342, allocations: 4.312 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.00343, allocations: 384 / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.003587, allocations: 74.22 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.003596, allocations: 192 / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.003605, allocations: 4.359 kB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003609, allocations: 384 / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.003747, allocations: 63.88 kB / 0.954 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.004018, allocations: 208.6 kB / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.004137, allocations: 58.48 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.004216, allocations: 44.91 kB / 0.9543 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.004228, allocations: 0 / 0.9543 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.004248, allocations: 30.56 kB / 0.9544 GB, free: 176 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004249, allocations: 0 / 0.9544 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003122/0.004561, allocations: 133.7 kB / 0.9545 GB, free: 36 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.004604, allocations: 63.27 kB / 0.9545 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.004664, allocations: 105.8 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.004676, allocations: 29.7 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.004711, allocations: 84.14 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.004731, allocations: 15.84 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.004757, allocations: 13.72 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.004835, allocations: 322.8 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.004905, allocations: 35.97 kB / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.004968, allocations: 28 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.0051, allocations: 72.78 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005102, allocations: 4 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001592/0.005261, allocations: 97.56 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.005275, allocations: 11.92 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005279, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005291, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.005368, allocations: 15.98 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.005372, allocations: 3.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.005408, allocations: 15.98 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005414, allocations: 0 / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.115e-05/0.005465, allocations: 113.8 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.005479, allocations: 3.953 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.0055, allocations: 11.92 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005502, allocations: 0 / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.005506, allocations: 4 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005509, allocations: 0 / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.005596, allocations: 105.3 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005597, allocations: 8 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.005633, allocations: 15.98 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.005634, allocations: 0 / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005641, allocations: 0 / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.005644, allocations: 7.938 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005645, allocations: 0 / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.005828, allocations: 191.4 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.005837, allocations: 7.953 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005846, allocations: 4 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.005894, allocations: 11.92 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.005933, allocations: 15.92 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005935, allocations: 0 / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.005966, allocations: 91.58 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005966, allocations: 0 / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000139/0.006105, allocations: 4 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 7.469e-05/0.006179, allocations: 103.2 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.006356, allocations: 67.86 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006358, allocations: 0 / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.006425, allocations: 31.97 kB / 0.9561 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.006633, allocations: 11.98 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.006893, allocations: 150.4 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.006936, allocations: 63.34 kB / 0.9563 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.006966, allocations: 12.5 kB / 0.9563 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of SimCode: time 4.3e-07/0.006967, allocations: 0 / 0.9563 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of Templates: time 0.001535/0.008502, allocations: 0.7804 MB / 0.9571 GB, free: 13.17 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 6.171512224711478]