Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_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.007949/0.007949, allocations: 101 kB / 15.73 MB, free: 6.059 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.002076/0.002076, allocations: 194.6 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.455/1.455, 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.809/2.809, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9548/0.9567, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002343/0.9591, allocations: 0.761 MB / 1.221 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.9604, allocations: 0.8546 MB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.9605, allocations: 3.938 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.9606, allocations: 7.875 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.9607, allocations: 7.922 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.9609, allocations: 27.91 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.961, allocations: 67.89 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.9612, allocations: 23.98 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.9613, allocations: 35.84 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.9614, allocations: 35.84 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.9614, allocations: 4 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.9615, allocations: 8 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.9615, allocations: 15.98 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.9616, allocations: 39.77 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.9617, allocations: 70.38 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9617, allocations: 0 / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9617, allocations: 0 / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.9618, allocations: 8 kB / 1.222 GB, free: 56 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007235/0.9625, allocations: 380.1 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.9625, allocations: 8.031 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.9626, allocations: 34.75 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.9626, allocations: 8.891 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.9629, allocations: 184.2 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.9629, allocations: 4.375 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.9629, allocations: 4.375 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.9632, allocations: 90.08 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9632, allocations: 3.938 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.9632, allocations: 4 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.9633, allocations: 4 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.9635, allocations: 59.94 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.9642, allocations: 328.7 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.9644, allocations: 86.47 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.9646, allocations: 36.92 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.9646, allocations: 4 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.9647, allocations: 30.56 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.9647, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0005564/0.9652, allocations: 149.5 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.9653, allocations: 51.41 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.9654, allocations: 121.9 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.9655, allocations: 29.69 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.9655, allocations: 88.14 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.9656, allocations: 23.8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.9656, allocations: 25.7 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.9658, allocations: 322.8 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.966, allocations: 27.92 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.9661, allocations: 31.97 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.9663, allocations: 68.81 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9663, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002858/0.9666, allocations: 113.5 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9666, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9667, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.9667, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.9669, allocations: 19.97 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9669, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.967, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.967, allocations: 4 kB / 1.224 GB, free: 13.51 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 (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 0.0001238/0.9671, allocations: 125.8 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.9671, allocations: 3.953 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.9672, allocations: 12.38 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9672, allocations: 0 / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9672, allocations: 0 / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9672, allocations: 0 / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.9675, allocations: 197.5 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9675, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.9676, allocations: 24.34 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9676, allocations: 4 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.9676, allocations: 4 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.9676, allocations: 4 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9676, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.968, allocations: 199.4 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.9681, allocations: 89 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.9681, allocations: 7.984 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.9682, allocations: 8 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.9683, allocations: 15.92 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.9683, allocations: 7.984 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.9684, allocations: 91.27 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9684, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002289/0.9686, allocations: 16 kB / 1.225 GB, free: 12.62 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 (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.0008531/0.9695, allocations: 0.7402 MB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.9698, allocations: 67.94 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9698, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.97, allocations: 47.91 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.9704, allocations: 11.94 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.9724, allocations: 1.446 MB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.9727, allocations: 0.6885 MB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.632e-05/0.9728, allocations: 8 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.9729, allocations: 23.42 kB / 1.228 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9729, allocations: 0 / 1.228 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.9987, allocations: 2.333 MB / 1.23 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/9.292, allocations: 6.562 kB / 1.23 GB, free: 7.211 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches