Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 443.4 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 176] 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.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3696, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002023/0.3717, allocations: 0.7103 MB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3727, allocations: 0.8079 MB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.3727, allocations: 0 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.3728, allocations: 7.922 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.3728, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.457e-05/0.3729, allocations: 15.98 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.06e-05/0.373, allocations: 43.8 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3731, allocations: 23.97 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.3732, allocations: 15.92 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.3732, allocations: 23.92 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3732, allocations: 0 / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.3733, allocations: 4 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3733, allocations: 11.98 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3733, allocations: 15.88 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.3734, allocations: 39.8 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3734, allocations: 4 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3734, allocations: 0 / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3734, allocations: 4 kB / 1.218 GB, free: 13.57 MB / 0.9669 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.0006157/0.374, allocations: 363.3 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3741, allocations: 8.031 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3741, allocations: 8.891 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3742, allocations: 172.2 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3743, allocations: 8.359 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3743, allocations: 384 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3745, allocations: 70.22 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3745, allocations: 192 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3745, allocations: 3.938 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3745, allocations: 4 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.3748, allocations: 63.92 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.3752, allocations: 276.8 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3754, allocations: 50.48 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3756, allocations: 44.91 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3756, allocations: 0 / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3756, allocations: 34.56 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3756, allocations: 0 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005211/0.3762, allocations: 125.5 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3762, allocations: 55.41 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3763, allocations: 109.8 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3763, allocations: 25.7 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.3764, allocations: 92.12 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3764, allocations: 7.906 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.3764, allocations: 17.72 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3766, allocations: 314.8 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3767, allocations: 27.97 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3769, allocations: 35.97 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.3771, allocations: 64.78 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3771, allocations: 3.938 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003022/0.3774, allocations: 101.6 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3774, allocations: 11.94 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3774, allocations: 3.984 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3774, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3776, allocations: 11.98 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3776, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.3777, allocations: 15.98 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3777, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 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 8.243e-05/0.3777, allocations: 117.8 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3778, allocations: 8.281 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.3778, allocations: 15.89 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3778, allocations: 3.984 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3778, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3778, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.378, allocations: 169.6 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.378, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-05/0.3781, allocations: 19.98 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3781, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3781, allocations: 7.922 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3781, allocations: 3.938 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3781, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.3785, allocations: 195.4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.3785, allocations: 89 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3785, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3787, allocations: 15.97 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3787, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3787, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.3788, allocations: 91.27 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3788, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000204/0.379, allocations: 4 kB / 1.221 GB, free: 10.43 MB / 0.9669 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.0001388/0.3791, allocations: 103.2 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.3794, allocations: 71.86 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3794, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3796, allocations: 39.97 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3799, allocations: 14.73 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.3802, allocations: 137.4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3805, allocations: 0.6807 MB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.3806, allocations: 3.984 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3806, allocations: 11.44 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3806, allocations: 3.938 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of Templates: time 0.003126/0.3837, allocations: 0.6926 MB / 1.222 GB, free: 8.625 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.60983473341912]