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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001771/0.001771, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.601/2.601, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 67.89 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7365, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002361/0.7389, allocations: 0.7706 MB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000985/0.7399, allocations: 0.8 MB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.74, allocations: 0 / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.74, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.7401, allocations: 7.938 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.43e-05/0.7402, allocations: 15.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.7403, allocations: 39.91 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.7404, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.7405, allocations: 23.86 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.7405, allocations: 19.92 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.7406, allocations: 4 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.7406, allocations: 4 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.7406, allocations: 7.984 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.7406, allocations: 19.86 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.7408, allocations: 39.86 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7408, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7408, allocations: 3.938 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.7408, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 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.7414, allocations: 366.8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7414, allocations: 12.03 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.7415, allocations: 0.9375 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.7416, allocations: 168.3 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.7416, allocations: 4.359 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.7416, allocations: 4.375 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.7419, allocations: 66.22 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7419, allocations: 4.125 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.742, allocations: 3.938 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.742, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.7423, allocations: 63.92 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.7427, allocations: 265 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.7429, allocations: 54.48 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.7431, allocations: 44.91 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.7431, allocations: 3.938 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.7431, allocations: 30.56 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.7431, allocations: 4 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005315/0.7437, allocations: 133.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.7437, allocations: 51.41 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.7438, allocations: 105.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.7438, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.7439, allocations: 96.06 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.7439, allocations: 15.83 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.744, allocations: 17.72 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7441, allocations: 314.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.7442, allocations: 31.91 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.7444, allocations: 31.97 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.7446, allocations: 68.78 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7447, allocations: 3.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002859/0.7449, allocations: 97.53 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.745, allocations: 8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.745, allocations: 7.984 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.745, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7451, allocations: 15.98 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.7452, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.7452, allocations: 7.984 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.7453, allocations: 7.938 kB / 1.02 GB, free: 14.67 MB / 0.7794 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.404e-05/0.7453, allocations: 109.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.7454, allocations: 8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.7454, allocations: 11.89 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7454, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7454, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7454, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.7456, allocations: 177.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7456, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.7457, allocations: 15.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.7457, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7457, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7458, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7458, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.7461, allocations: 191.4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.7462, allocations: 85.05 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.7462, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.7463, allocations: 19.97 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.7464, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.7464, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.7464, allocations: 91.27 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7464, allocations: 3.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002101/0.7466, allocations: 11.91 kB / 1.021 GB, free: 13.85 MB / 0.7794 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.0001631/0.7468, allocations: 99.23 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.7471, allocations: 71.92 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7471, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.7473, allocations: 43.89 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.7477, allocations: 10.33 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.748, allocations: 135.3 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.7484, allocations: 0.6809 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.7484, allocations: 4.359 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.7484, allocations: 7.438 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7485, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.002851/0.7513, allocations: 0.5436 MB / 1.023 GB, free: 12.2 MB / 0.7794 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/jenkins/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