Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.00146/0.001461, allocations: 108 kB / 15.61 MB, free: 152 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.001591/0.001592, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.359 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.504/2.504, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.5681, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002386/0.5706, allocations: 0.7697 MB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.5718, allocations: 0.8428 MB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.5719, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.572, allocations: 3.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.5721, allocations: 11.86 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.5723, allocations: 31.95 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5724, allocations: 63.91 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.5726, allocations: 27.97 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.5726, allocations: 31.86 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.5727, allocations: 43.81 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.5728, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.5728, allocations: 8 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.5728, allocations: 19.92 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.5729, allocations: 31.8 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.573, allocations: 79.73 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.573, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/0.573, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.573, allocations: 0 / 1.019 GB, free: 0.5234 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005371/0.5735, allocations: 373.5 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5736, allocations: 12.03 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.5736, allocations: 38.73 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.5737, allocations: 8.844 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.5738, allocations: 176.2 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5738, allocations: 12.38 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.5738, allocations: 4.375 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.5741, allocations: 86.08 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5741, allocations: 3.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5741, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5741, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.5743, allocations: 67.88 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.5748, allocations: 324.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.5751, allocations: 90.47 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.5752, allocations: 40.92 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.5752, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.5753, allocations: 34.56 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.5753, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004667/0.5758, allocations: 137.5 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.5758, allocations: 55.39 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.5759, allocations: 121.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5759, allocations: 25.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.576, allocations: 99.97 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.576, allocations: 15.81 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.5761, allocations: 21.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.5762, allocations: 318.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.5763, allocations: 28.08 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5764, allocations: 39.91 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.5766, allocations: 64.81 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5766, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002634/0.5769, allocations: 113.5 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.5769, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5769, allocations: 448 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5769, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5771, allocations: 15.98 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5771, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.5772, allocations: 11.98 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.5772, allocations: 4 kB / 1.022 GB, free: 13.98 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 (6): * Single equations (assignments): 6 * 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.309e-05/0.5773, allocations: 117.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.5773, allocations: 7.906 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.5773, allocations: 12.36 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5773, allocations: 8 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5773, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5774, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.5775, allocations: 193.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5775, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5777, allocations: 19.92 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5777, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5777, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5777, allocations: 7.969 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5777, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.578, allocations: 203.3 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.5781, allocations: 89 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5781, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5782, allocations: 11.98 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.5783, allocations: 11.98 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5783, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.5783, allocations: 99.27 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5783, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000246/0.5786, allocations: 12 kB / 1.022 GB, free: 13.1 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 (6): * Single equations (assignments): 6 * 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.0006346/0.5792, allocations: 0.7434 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.5795, allocations: 79.88 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5796, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5797, allocations: 44.22 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.58, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.5818, allocations: 1.444 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.582, allocations: 0.6885 MB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.448e-05/0.5821, allocations: 12 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.5822, allocations: 31.36 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5822, allocations: 0 / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.599, allocations: 2.253 MB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.677, allocations: 21.41 kB / 1.028 GB, free: 7.719 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_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_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches