Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001136/0.001136, allocations: 111.7 kB / 16.41 MB, free: 6.488 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.001014/0.001014, allocations: 189.6 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.037, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.003179/1.04, allocations: 0.7066 MB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001648/1.042, allocations: 0.8039 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/1.042, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/1.042, allocations: 3.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/1.042, allocations: 3.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.878e-05/1.042, allocations: 15.98 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000129/1.042, allocations: 39.91 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/1.043, allocations: 16 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/1.043, allocations: 19.92 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/1.043, allocations: 19.92 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/1.043, allocations: 4 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/1.043, allocations: 7.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/1.043, allocations: 11.92 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/1.043, allocations: 11.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/1.043, allocations: 43.84 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.043, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/1.043, allocations: 7.938 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.043, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 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.0007984/1.044, allocations: 363.2 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.044, allocations: 12.03 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/1.044, allocations: 4.844 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/1.044, allocations: 170.2 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.044, allocations: 384 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/1.044, allocations: 8.312 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/1.045, allocations: 70.22 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.045, allocations: 192 / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.045, allocations: 3.938 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.045, allocations: 3.938 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/1.045, allocations: 63.92 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/1.046, allocations: 268.9 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/1.046, allocations: 54.48 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/1.047, allocations: 44.91 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/1.047, allocations: 4 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/1.047, allocations: 34.5 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/1.047, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0009743/1.048, allocations: 125.6 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.048, allocations: 55.41 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/1.048, allocations: 113.8 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/1.048, allocations: 25.7 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/1.048, allocations: 88.05 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/1.048, allocations: 15.83 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/1.048, allocations: 13.72 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.048, allocations: 318.8 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/1.049, allocations: 31.97 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/1.049, allocations: 36.08 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/1.049, allocations: 68.88 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.049, allocations: 3.938 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004853/1.05, allocations: 97.62 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.05, allocations: 7.984 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.05, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.05, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/1.05, allocations: 15.98 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.05, allocations: 3.938 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.05, allocations: 19.98 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/1.05, allocations: 4 kB / 1.212 GB, free: 9.508 MB / 0.9356 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.0001022/1.05, allocations: 117.7 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/1.05, allocations: 3.906 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/1.051, allocations: 11.89 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.051, allocations: 4 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.051, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.051, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/1.051, allocations: 169.6 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.051, allocations: 4 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.051, allocations: 15.97 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.051, allocations: 4 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.051, allocations: 3.938 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.051, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.051, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/1.052, allocations: 195.4 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/1.052, allocations: 81.02 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/1.052, allocations: 4 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/1.052, allocations: 15.91 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/1.052, allocations: 4 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/1.052, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.751e-05/1.052, allocations: 91.27 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/1.052, allocations: 4 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003832/1.053, allocations: 4 kB / 1.213 GB, free: 8.684 MB / 0.9356 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.0001895/1.053, allocations: 99.25 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006034/1.054, allocations: 67.92 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.054, allocations: 0 / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/1.054, allocations: 47.89 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/1.054, allocations: 9.812 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/1.055, allocations: 151.2 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/1.055, allocations: 0.6807 MB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/1.055, allocations: 15.42 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/1.055, allocations: 4 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.003668/1.059, allocations: 0.7446 MB / 1.215 GB, free: 6.809 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches