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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 106.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8783/0.8795, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001922/0.8815, allocations: 0.6967 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.8825, allocations: 0.8039 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.8825, allocations: 4 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.8825, allocations: 3.938 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.8826, allocations: 7.938 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.905e-05/0.8827, allocations: 7.984 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.8828, allocations: 43.91 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.8829, allocations: 15.98 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.883, allocations: 19.92 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.8831, allocations: 19.92 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.8831, allocations: 4 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.8831, allocations: 7.938 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.8831, allocations: 11.92 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.8832, allocations: 11.94 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.8833, allocations: 47.86 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8833, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8833, allocations: 3.938 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8833, allocations: 4 kB / 1.169 GB, free: 2.168 MB / 0.8887 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.0005386/0.8839, allocations: 359.2 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8839, allocations: 8.922 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.8839, allocations: 8.844 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.8841, allocations: 170.2 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8841, allocations: 4.375 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.8841, allocations: 4.375 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.8844, allocations: 66.22 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8844, allocations: 192 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.8844, allocations: 7.938 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.8844, allocations: 7.938 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.8847, allocations: 63.92 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.8851, allocations: 272.8 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.8853, allocations: 58.48 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.8855, allocations: 39.34 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.8855, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.8855, allocations: 42.5 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.8855, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004931/0.886, allocations: 125.6 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.8861, allocations: 55.39 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.8861, allocations: 113.8 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.8862, allocations: 29.7 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.8862, allocations: 88.03 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.8862, allocations: 11.84 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.8863, allocations: 13.72 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8864, allocations: 318.8 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.8865, allocations: 35.97 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.8867, allocations: 31.91 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.8869, allocations: 68.86 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.887, allocations: 3.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002875/0.8873, allocations: 97.62 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8873, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8873, allocations: 3.984 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8873, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.8874, allocations: 15.98 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8875, allocations: 3.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.8875, allocations: 11.98 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.8875, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 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.447e-05/0.8876, allocations: 117.7 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.8877, allocations: 7.906 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.8877, allocations: 7.891 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.8877, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8877, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.8877, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.8879, allocations: 165.6 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8879, allocations: 4 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.888, allocations: 15.98 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.888, allocations: 3.984 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.888, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.888, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.888, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.8884, allocations: 195.4 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.8884, allocations: 81.02 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.8885, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8886, allocations: 27.84 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.8886, allocations: 4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.8886, allocations: 4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.8887, allocations: 87.27 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8887, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002126/0.8889, allocations: 12 kB / 1.172 GB, free: 15.01 MB / 0.9044 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.0001335/0.889, allocations: 99.25 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.8894, allocations: 63.92 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8894, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.8895, allocations: 44.36 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.8899, allocations: 18.38 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.8902, allocations: 147.2 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.8905, allocations: 0.6807 MB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.8905, allocations: 11.44 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8905, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.00197/0.8925, allocations: 0.7502 MB / 1.174 GB, free: 13.15 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches