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.0008547/0.0008548, allocations: 91.77 kB / 16.02 MB, free: 80 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.0008763/0.0008763, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.273 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.624/2.624, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003824, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6315, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.0008682/0.6324, allocations: 442.2 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.6334, allocations: 0.8001 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.6334, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.6334, allocations: 8 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.6335, allocations: 3.938 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.315e-05/0.6336, allocations: 7.984 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.6336, allocations: 39.86 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.6337, allocations: 15.98 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.6338, allocations: 15.92 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.6339, allocations: 23.84 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.6339, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.6339, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.6339, allocations: 3.984 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.634, allocations: 37.64 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.723e-05/0.634, allocations: 31.94 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.634, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6341, allocations: 7.875 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.6341, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 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.0004635/0.6345, allocations: 373.4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6346, allocations: 8.031 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.6346, allocations: 8.844 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6347, allocations: 164.3 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.6347, allocations: 4.375 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.6348, allocations: 384 / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.635, allocations: 86.22 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.635, allocations: 4.125 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.635, allocations: 3.938 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.635, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.6354, allocations: 87.92 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.6357, allocations: 265 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.6359, allocations: 70.47 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.6361, allocations: 48.92 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.6361, allocations: 7.938 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.6361, allocations: 30.56 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6361, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005709/0.6367, allocations: 165.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.6367, allocations: 51.41 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.6368, allocations: 113.8 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.6368, allocations: 25.7 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.6369, allocations: 88.05 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.6369, allocations: 15.83 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.637, allocations: 17.72 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.637, allocations: 310.8 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.6372, allocations: 43.91 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.6374, allocations: 47.95 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.6377, allocations: 88.78 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6377, allocations: 3.938 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003418/0.638, allocations: 117.6 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6381, allocations: 9.875 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6381, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.6381, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.6382, allocations: 23.98 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.6382, allocations: 4.25 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.6383, allocations: 27.88 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.6383, allocations: 3.938 kB / 1.027 GB, free: 11.92 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 6.71e-05/0.6384, allocations: 109.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.6384, allocations: 8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.6385, allocations: 7.906 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6385, allocations: 3.938 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.6385, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6385, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.6386, allocations: 169.6 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6387, allocations: 4 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.6388, allocations: 15.98 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6388, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.6388, allocations: 4 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6388, allocations: 0 / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6388, allocations: 3.984 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.6392, allocations: 223.3 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.6392, allocations: 81.05 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.6392, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6394, allocations: 19.98 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.6394, allocations: 7.984 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.6394, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.6395, allocations: 87.28 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6395, allocations: 0 / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000211/0.6397, allocations: 4 kB / 1.028 GB, free: 11.07 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.0001137/0.6398, allocations: 103.2 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.6401, allocations: 91.91 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6402, allocations: 4 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.6403, allocations: 47.91 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.6406, allocations: 11.94 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.641, allocations: 178.1 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.6412, allocations: 0.6774 MB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.6412, allocations: 11.44 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of SimCode: time 7.42e-07/0.6412, allocations: 0 / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.001976/0.6432, allocations: 0.7286 MB / 1.03 GB, free: 9.168 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