Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001466/0.001466, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002008/0.002008, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.923/2.923, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] 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.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [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.002087/0.002087, allocations: 64.83 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4115, allocations: 170 MB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002057/0.4135, allocations: 0.6965 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.4147, allocations: 0.8316 MB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.4147, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.4148, allocations: 7.922 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.4149, allocations: 7.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.16e-05/0.4149, allocations: 7.984 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.415, allocations: 43.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4152, allocations: 15.91 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.4152, allocations: 27.86 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.4153, allocations: 15.92 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.4153, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.4153, allocations: 4 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.4154, allocations: 11.92 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.4154, allocations: 11.94 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.4155, allocations: 39.81 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4155, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4155, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4155, allocations: 8 kB / 1.285 GB, free: 10.08 MB / 0.9825 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.0005788/0.4161, allocations: 286.2 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4161, allocations: 8.031 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.4162, allocations: 8.891 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4163, allocations: 118.4 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4163, allocations: 384 / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4163, allocations: 384 / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.4166, allocations: 74.22 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4166, allocations: 4.125 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4166, allocations: 3.938 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4166, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.4169, allocations: 63.92 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.4173, allocations: 204.6 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.4175, allocations: 62.53 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4176, allocations: 44.78 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4176, allocations: 0 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4177, allocations: 34.56 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.4177, allocations: 0 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005326/0.4182, allocations: 129.5 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.4182, allocations: 51.41 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4184, allocations: 117.8 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4184, allocations: 25.7 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.4184, allocations: 84.12 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.4185, allocations: 7.953 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.4185, allocations: 13.72 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4187, allocations: 318.8 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4189, allocations: 39.89 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.419, allocations: 27.97 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.4193, allocations: 68.78 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4193, allocations: 0 / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003198/0.4196, allocations: 105.5 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4196, allocations: 4 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4196, allocations: 3.938 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4196, allocations: 4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4197, allocations: 15.97 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4197, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.4198, allocations: 15.92 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4198, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 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 9.665e-05/0.4199, allocations: 113.8 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.42, allocations: 3.938 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.42, allocations: 8 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.42, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.42, allocations: 3.984 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.42, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4201, allocations: 121.2 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4201, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.4202, allocations: 19.92 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4202, allocations: 8 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4203, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4203, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4203, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.4206, allocations: 195.7 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.4206, allocations: 7.938 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4207, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4208, allocations: 15.98 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.4208, allocations: 8.016 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4208, allocations: 3.938 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.4209, allocations: 91.58 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4209, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002218/0.4211, allocations: 11.95 kB / 1.287 GB, free: 7.336 MB / 0.9825 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.0001366/0.4213, allocations: 97.62 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.4216, allocations: 71.92 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.4218, allocations: 39.91 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4221, allocations: 4 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.4224, allocations: 129.6 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.536e-05/0.4225, allocations: 63.34 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.4225, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.4226, allocations: 7.438 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.4226, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of Templates: time 0.003487/0.4261, allocations: 0.7569 MB / 1.288 GB, free: 6.137 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.509135287255049]