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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01124/0.01124, allocations: 104.8 kB / 15.74 MB, free: 6.02 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.002328/0.002328, allocations: 192 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.414/2.414, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 4.34/4.34, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 64.12 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398/1.4, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002798/1.403, allocations: 0.71 MB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001571/1.405, allocations: 0.804 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/1.405, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/1.405, allocations: 3.938 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/1.405, allocations: 11.88 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.249e-05/1.405, allocations: 7.984 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/1.405, allocations: 47.78 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/1.405, allocations: 16 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/1.405, allocations: 15.98 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/1.405, allocations: 15.92 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/1.406, allocations: 4 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/1.406, allocations: 4 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/1.406, allocations: 15.91 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/1.406, allocations: 19.92 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/1.406, allocations: 39.81 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.406, allocations: 0 / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.794e-06/1.406, allocations: 0 / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.921e-05/1.406, allocations: 4 kB / 1.168 GB, free: 2.051 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.0009442/1.407, allocations: 371 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.233e-05/1.407, allocations: 8.922 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/1.407, allocations: 30.75 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/1.407, allocations: 12.83 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/1.407, allocations: 168.4 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/1.407, allocations: 4.375 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/1.407, allocations: 384 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/1.408, allocations: 70.22 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.408, allocations: 3.938 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.408, allocations: 4 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/1.408, allocations: 0 / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/1.408, allocations: 63.92 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/1.409, allocations: 276.8 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/1.409, allocations: 54.53 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/1.409, allocations: 35.36 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/1.409, allocations: 3.984 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/1.41, allocations: 42.56 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/1.41, allocations: 0 / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0008476/1.41, allocations: 129.5 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.41, allocations: 51.41 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/1.411, allocations: 113.8 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/1.411, allocations: 25.7 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/1.411, allocations: 92.08 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/1.411, allocations: 7.906 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/1.411, allocations: 21.7 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002237/1.411, allocations: 310.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/1.411, allocations: 35.97 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/1.412, allocations: 31.95 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/1.412, allocations: 76.66 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.412, allocations: 3.938 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003517/1.412, allocations: 101.6 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.412, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.412, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.412, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/1.413, allocations: 15.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.413, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/1.413, allocations: 11.98 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.413, allocations: 8 kB / 1.17 GB, free: 15.68 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 0.0001214/1.413, allocations: 113.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/1.413, allocations: 7.953 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/1.413, allocations: 11.91 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.413, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.413, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/1.413, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/1.413, allocations: 169.6 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/1.413, allocations: 3.984 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.413, allocations: 23.92 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.413, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/1.413, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.413, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/1.413, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/1.414, allocations: 191.4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/1.414, allocations: 89.05 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/1.414, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/1.414, allocations: 11.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/1.414, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.414, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.496e-05/1.414, allocations: 91.56 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.414, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002351/1.414, allocations: 8 kB / 1.171 GB, free: 14.86 MB / 0.9044 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.0007919/1.415, allocations: 0.7361 MB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003721/1.416, allocations: 75.95 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.416, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/1.416, allocations: 35.91 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/1.416, allocations: 15.92 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/1.417, allocations: 162.9 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.417, allocations: 0.6807 MB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.551e-05/1.417, allocations: 0 / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/1.417, allocations: 11.44 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/1.417, allocations: 4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/1.462, allocations: 1.622 MB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.39, allocations: 13.23 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv","/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