Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001897/0.001897, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002162/0.002162, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.071/3.071, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/4.048e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002019/0.002059, allocations: 0.7093 MB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003237, allocations: 0.8315 MB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.003273, allocations: 0 / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.003295, allocations: 3.938 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.003372, allocations: 9.25 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.61e-05/0.003438, allocations: 11.98 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003541, allocations: 43.91 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.00364, allocations: 9.359 kB / 0.8125 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.003739, allocations: 27.92 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.003785, allocations: 15.97 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.003806, allocations: 4 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.003817, allocations: 4.562 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.003838, allocations: 9.281 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.003868, allocations: 11.98 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003974, allocations: 43.86 kB / 0.8126 GB, free: 336 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003976, allocations: 0 / 0.8126 GB, free: 336 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003977, allocations: 1.938 kB / 0.8126 GB, free: 336 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.00398, allocations: 0 / 0.8126 GB, free: 336 kB / 0.7605 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.000602/0.004582, allocations: 376.2 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004623, allocations: 15.97 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.004668, allocations: 10.86 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.004798, allocations: 112.6 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.004813, allocations: 4.375 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.004823, allocations: 384 / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.005022, allocations: 58.23 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.005031, allocations: 0.8125 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.005041, allocations: 384 / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005045, allocations: 0.9062 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.005229, allocations: 48.62 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.005675, allocations: 268.3 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.005841, allocations: 52.48 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.005953, allocations: 35.75 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.005969, allocations: 0.5312 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.00601, allocations: 42.75 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006011, allocations: 0 / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004376/0.006448, allocations: 98.69 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.006496, allocations: 51.41 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.006642, allocations: 173.9 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.006673, allocations: 26.61 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.006895, allocations: 142.8 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.006916, allocations: 8.672 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.006964, allocations: 19.38 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.007217, allocations: 0.4934 MB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.007327, allocations: 19.98 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.007411, allocations: 24.81 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.00758, allocations: 49 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007582, allocations: 3.938 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002203/0.007802, allocations: 74.81 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.007831, allocations: 11.94 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007836, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.007853, allocations: 1.875 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.007962, allocations: 15.98 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007968, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.008016, allocations: 4 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.008025, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 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 0.0001212/0.008146, allocations: 163 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.008173, allocations: 4 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.008202, allocations: 11.94 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.008204, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.008207, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.008209, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.008379, allocations: 125.1 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.00838, allocations: 0.5312 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.008449, allocations: 15.92 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00845, allocations: 1.5 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.008463, allocations: 4 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.008468, allocations: 4.25 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008469, allocations: 0.6875 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.008786, allocations: 225.2 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.008792, allocations: 0 / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.008808, allocations: 4 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.008887, allocations: 12.72 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.008934, allocations: 3.984 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.008938, allocations: 0.6562 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.215e-05/0.00903, allocations: 139.2 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00903, allocations: 0.6562 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002149/0.009245, allocations: 8 kB / 0.8154 GB, free: 13.16 MB / 0.7761 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 0.0001461/0.009391, allocations: 100.6 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.009642, allocations: 55.97 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009644, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.009756, allocations: 39.73 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.01003, allocations: 18.34 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.0104, allocations: 130.1 kB / 0.8157 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.01048, allocations: 79.03 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.01051, allocations: 8.984 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.01055, allocations: 12.5 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01055, allocations: 1.062 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.003689/0.01424, allocations: 0.7271 MB / 0.8166 GB, free: 11.96 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.1547786250012]