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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001636/0.001636, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 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: 196 kB / 16.79 MB, free: 6.809 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437 MB / 0.7106 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.89 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7477, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002181/0.7499, allocations: 0.7668 MB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.7509, allocations: 0.804 MB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.7509, allocations: 4 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.751, allocations: 0 / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.7511, allocations: 7.922 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.92e-05/0.7512, allocations: 8 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.7513, allocations: 43.84 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.7514, allocations: 11.98 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.7515, allocations: 15.98 kB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.7515, allocations: 15.92 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7515, allocations: 11.94 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.7516, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.7516, allocations: 11.92 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.7516, allocations: 11.94 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.878e-05/0.7517, allocations: 35.88 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7517, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7517, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7517, allocations: 0 / 1.019 GB, free: 1.02 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.000563/0.7523, allocations: 369.3 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7523, allocations: 8.031 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.7524, allocations: 8.875 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.7525, allocations: 172.3 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.7525, allocations: 4.375 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.7525, allocations: 384 / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.7528, allocations: 66.22 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7528, allocations: 4.188 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.7528, allocations: 7.922 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7528, allocations: 4 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.7531, allocations: 63.88 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.7535, allocations: 261 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.7537, allocations: 62.47 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.7539, allocations: 36.92 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.7539, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.7539, allocations: 34.56 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.7539, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005269/0.7545, allocations: 137.4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7545, allocations: 51.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.7546, allocations: 109.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7546, allocations: 25.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.7547, allocations: 88.14 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.7547, allocations: 11.83 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.7548, allocations: 17.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7549, allocations: 310.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.755, allocations: 35.95 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.7552, allocations: 27.97 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.7554, allocations: 76.72 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7555, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003125/0.7558, allocations: 97.53 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7558, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7558, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7558, allocations: 336 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.756, allocations: 15.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.756, allocations: 7.922 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.7561, allocations: 11.98 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.7561, allocations: 0 / 1.021 GB, free: 14.69 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 7.989e-05/0.7562, allocations: 117.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.7562, allocations: 7.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.7562, allocations: 11.89 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.7563, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7563, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7563, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.7564, allocations: 177.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7564, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7566, allocations: 11.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7566, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.7566, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7566, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7566, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.7569, allocations: 191.4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.757, allocations: 77.11 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.757, allocations: 8 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.7571, allocations: 11.98 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.7572, allocations: 7.984 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.7572, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.7572, allocations: 83.28 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7572, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000214/0.7575, allocations: 15.84 kB / 1.022 GB, free: 13.87 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.0001486/0.7576, allocations: 107.2 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.7579, allocations: 67.92 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7579, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.7581, allocations: 35.97 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.7584, allocations: 14 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.7588, allocations: 164.9 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.7591, allocations: 0.6809 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.7591, allocations: 7.438 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7591, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.002412/0.7615, allocations: 0.7484 MB / 1.024 GB, free: 11.99 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/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