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.001419/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001433/0.001433, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.581/1.581, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.845/2.845, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.88 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8121, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00216/0.8143, allocations: 0.7667 MB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.8153, allocations: 0.7962 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.8154, allocations: 0 / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.8155, allocations: 7.938 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.8155, allocations: 3.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.396e-05/0.8156, allocations: 11.98 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.8157, allocations: 43.86 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.8158, allocations: 11.98 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.8159, allocations: 11.98 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.8159, allocations: 23.86 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.816, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.816, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.816, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.816, allocations: 19.91 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.321e-05/0.8161, allocations: 43.81 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8161, allocations: 4 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.8161, allocations: 3.938 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8162, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 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.0006176/0.8168, allocations: 375.1 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8168, allocations: 8.031 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.8169, allocations: 4.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.817, allocations: 164.3 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.8171, allocations: 8.375 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.8171, allocations: 384 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.8174, allocations: 70.2 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.8174, allocations: 192 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8174, allocations: 3.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.8174, allocations: 4 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.8177, allocations: 59.94 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.8182, allocations: 268.9 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.8184, allocations: 62.47 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.8186, allocations: 36.92 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.8186, allocations: 0 / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.8187, allocations: 42.55 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8187, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005996/0.8193, allocations: 137.4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.8193, allocations: 51.41 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8194, allocations: 109.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.8195, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.8195, allocations: 88.14 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.8196, allocations: 15.81 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.8196, allocations: 17.72 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8198, allocations: 314.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.8199, allocations: 35.95 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.8201, allocations: 27.97 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.8204, allocations: 76.72 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.8204, allocations: 3.938 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003295/0.8207, allocations: 97.53 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.8208, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8208, allocations: 3.938 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8208, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.8209, allocations: 23.97 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.821, allocations: 4 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.821, allocations: 11.98 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.8211, allocations: 0 / 1.02 GB, free: 14.72 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 9.971e-05/0.8212, allocations: 110.3 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.8212, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.8212, allocations: 7.906 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8212, allocations: 3.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8213, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.8213, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.8215, allocations: 177.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8215, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8216, allocations: 19.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8216, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.8216, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8216, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8216, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.822, allocations: 203.4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.8221, allocations: 77.11 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.8221, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.8222, allocations: 11.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.8223, allocations: 3.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.8223, allocations: 8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.8224, allocations: 83.28 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8224, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002213/0.8226, allocations: 11.91 kB / 1.021 GB, free: 13.91 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.000151/0.8228, allocations: 103.2 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.8231, allocations: 76.3 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8231, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.8233, allocations: 31.97 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.8236, allocations: 11.92 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.824, allocations: 139.2 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.8244, allocations: 0.6811 MB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.8244, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.8245, allocations: 11.38 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8245, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.00316/0.8277, allocations: 0.5578 MB / 1.023 GB, free: 12.25 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=400 -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