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.008761/0.008761, allocations: 98.41 kB / 15.73 MB, free: 6.008 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.001508/0.001508, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.793/2.793, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4291, allocations: 151.6 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002124/0.4313, allocations: 0.7003 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.4324, allocations: 0.8043 MB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.4324, allocations: 0 / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.4325, allocations: 7.938 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.4326, allocations: 7.938 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.039e-05/0.4327, allocations: 11.98 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.886e-05/0.4328, allocations: 43.84 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4329, allocations: 12 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.433, allocations: 23.91 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.4331, allocations: 23.91 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.4331, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.4332, allocations: 8 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.4332, allocations: 4 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.4332, allocations: 19.86 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.4333, allocations: 39.81 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4333, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4333, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4334, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 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.0006645/0.434, allocations: 363.3 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4341, allocations: 16.03 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.4341, allocations: 4.891 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4343, allocations: 172.4 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4343, allocations: 384 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4343, allocations: 4.375 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.4346, allocations: 70.16 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4346, allocations: 192 / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4346, allocations: 3.938 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4346, allocations: 4 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.435, allocations: 71.84 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.4354, allocations: 272.9 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4356, allocations: 70.34 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.4358, allocations: 36.92 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4358, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4359, allocations: 30.56 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.4359, allocations: 0 / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005751/0.4364, allocations: 129.6 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.4365, allocations: 55.41 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4366, allocations: 113.8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4366, allocations: 25.7 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.4367, allocations: 88.14 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.4368, allocations: 11.91 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.4368, allocations: 21.7 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.437, allocations: 310.8 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4371, allocations: 31.97 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4372, allocations: 35.95 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.4376, allocations: 68.78 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4376, allocations: 3.938 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002956/0.4379, allocations: 97.62 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4379, allocations: 8 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4379, allocations: 3.938 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.438, allocations: 4 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4381, allocations: 11.98 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.4381, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.4382, allocations: 7.984 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.4382, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 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 0.0001076/0.4383, allocations: 117.8 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4383, allocations: 7.953 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.4384, allocations: 11.91 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4384, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4384, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4384, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4386, allocations: 169.6 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4386, allocations: 3.984 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.4387, allocations: 15.98 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4387, allocations: 3.938 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4387, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4387, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4387, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.4392, allocations: 195.7 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.4392, allocations: 89.05 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.4392, allocations: 0 / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4393, allocations: 15.98 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.4394, allocations: 7.969 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.4394, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001679/0.4396, allocations: 91.27 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4396, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002098/0.4398, allocations: 11.94 kB / 1.171 GB, free: 1.848 MB / 0.92 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.0001694/0.44, allocations: 99.25 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.4403, allocations: 71.92 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4403, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4405, allocations: 39.89 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.4408, allocations: 7.938 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.4412, allocations: 125.4 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4415, allocations: 0.6768 MB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.4416, allocations: 4 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.4416, allocations: 7.438 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.4416, allocations: 0 / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of Templates: time 0.003486/0.4451, allocations: 0.6881 MB / 1.173 GB, free: 84 kB / 0.92 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