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.001464/0.001464, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001763/0.001763, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.16 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.656/2.656, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9957/0.9973, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002099/0.9994, allocations: 0.7044 MB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00105/1.001, allocations: 0.804 MB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/1.001, allocations: 4 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/1.001, allocations: 3.938 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/1.001, allocations: 7.922 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.496e-05/1.001, allocations: 7.984 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/1.001, allocations: 47.86 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/1.001, allocations: 11.98 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/1.001, allocations: 15.92 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/1.001, allocations: 27.91 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/1.001, allocations: 4 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/1.001, allocations: 0 / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/1.001, allocations: 15.92 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/1.001, allocations: 15.94 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/1.001, allocations: 39.88 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.001, allocations: 0 / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.326e-06/1.001, allocations: 0 / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.001, allocations: 3.938 kB / 1.169 GB, free: 2.082 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.000601/1.002, allocations: 367.2 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.002, allocations: 8.922 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/1.002, allocations: 12.84 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/1.002, allocations: 166.2 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/1.002, allocations: 384 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/1.002, allocations: 4.375 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/1.003, allocations: 70.2 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.003, allocations: 192 / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.003, allocations: 7.938 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/1.003, allocations: 4 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/1.003, allocations: 59.92 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/1.003, allocations: 272.8 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/1.004, allocations: 62.47 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/1.004, allocations: 35.36 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/1.004, allocations: 0 / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.004, allocations: 46.48 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.004, allocations: 0 / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005427/1.004, allocations: 133.5 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.004, allocations: 51.41 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/1.004, allocations: 105.8 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/1.005, allocations: 25.7 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/1.005, allocations: 100 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.005, allocations: 7.844 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/1.005, allocations: 17.72 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.005, allocations: 310.8 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.005, allocations: 31.95 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/1.005, allocations: 32.05 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/1.005, allocations: 68.78 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.005, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003216/1.006, allocations: 97.5 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.006, allocations: 12 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.006, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.006, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.006, allocations: 19.97 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.006, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/1.006, allocations: 15.92 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.006, allocations: 8 kB / 1.171 GB, free: 15.75 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 7.859e-05/1.006, allocations: 112 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/1.006, allocations: 11.91 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/1.006, allocations: 7.906 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.006, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.006, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/1.006, allocations: 81.09 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/1.006, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.006, allocations: 7.984 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/1.006, allocations: 7.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004049/1.007, allocations: 192.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003827/1.007, allocations: 274.7 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001492/1.007, allocations: 31.97 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.438e-05/1.007, allocations: 87.58 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Backend: time 3.5e-07/1.007, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005075/1.008, allocations: 118.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005445/1.008, allocations: 0.5687 MB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of Templates: time 0.003212/1.012, allocations: 0.8592 MB / 1.173 GB, free: 13.3 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