Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007054/0.007054, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001425/0.001425, allocations: 197 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9919, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002214/0.9941, allocations: 0.7112 MB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.9953, allocations: 0.8001 MB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.9953, allocations: 0 / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.9954, allocations: 3.938 kB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.9954, allocations: 3.938 kB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.052e-05/0.9955, allocations: 19.98 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.9956, allocations: 43.84 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.9957, allocations: 8 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.9958, allocations: 15.92 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.9958, allocations: 27.86 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.9958, allocations: 4 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/0.9958, allocations: 4 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.9959, allocations: 11.97 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.9959, allocations: 19.86 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.996, allocations: 35.88 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.996, allocations: 0 / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.996, allocations: 7.938 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.996, allocations: 0 / 1.222 GB, free: 376 kB / 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.0005788/0.9966, allocations: 371.8 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.9966, allocations: 8.031 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.9967, allocations: 8.891 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.9968, allocations: 168.4 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.9968, allocations: 384 / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.9968, allocations: 4.375 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.9971, allocations: 74.16 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9971, allocations: 192 / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.9971, allocations: 3.938 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9971, allocations: 0 / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.9974, allocations: 67.92 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.9978, allocations: 272.9 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.998, allocations: 58.42 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.9981, allocations: 40.89 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.9981, allocations: 4 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.9982, allocations: 38.56 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.9982, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005213/0.9987, allocations: 125.6 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.9987, allocations: 55.41 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.9988, allocations: 105.8 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.9988, allocations: 29.64 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.9989, allocations: 88.14 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.9989, allocations: 11.84 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.9989, allocations: 21.66 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.999, allocations: 314.8 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.9992, allocations: 31.97 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.9993, allocations: 35.95 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.9996, allocations: 60.8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9996, allocations: 7.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002975/0.9999, allocations: 97.61 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9999, allocations: 8 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.9999, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9999, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/1, allocations: 19.92 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/1, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/1, allocations: 15.94 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/1, allocations: 8 kB / 1.224 GB, free: 14.03 MB / 0.9512 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.0001478/1, allocations: 109.8 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/1, allocations: 7.984 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/1, allocations: 7.906 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1, allocations: 3.938 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/1.001, allocations: 169.6 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.001, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/1.001, allocations: 23.97 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.001, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/1.001, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.001, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.001, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/1.001, allocations: 203.3 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/1.001, allocations: 77.11 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.001, allocations: 7.984 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.001, allocations: 11.98 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/1.001, allocations: 384 / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.001, allocations: 8 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.388e-05/1.001, allocations: 87.58 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.001, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002157/1.001, allocations: 12 kB / 1.225 GB, free: 13.21 MB / 0.9512 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.0001288/1.002, allocations: 103.2 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003499/1.002, allocations: 71.91 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.002, allocations: 0 / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/1.002, allocations: 43.89 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/1.002, allocations: 12.17 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/1.003, allocations: 125.4 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.003, allocations: 0.6806 MB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.166e-05/1.003, allocations: 8 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/1.003, allocations: 7.438 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/1.003, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of Templates: time 0.002621/1.006, allocations: 0.6791 MB / 1.227 GB, free: 11.43 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches