Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_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.007011/0.007011, allocations: 106.8 kB / 15.74 MB, free: 6.023 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.00151/0.00151, allocations: 192.6 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 1.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.788/2.788, allocations: 469.4 MB / 0.7422 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9467, allocations: 159.1 MB / 1.22 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002099/0.9489, allocations: 0.7534 MB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.95, allocations: 0.8467 MB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.9501, allocations: 3.938 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.9502, allocations: 7.875 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.46e-05/0.9503, allocations: 15.94 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.9505, allocations: 27.91 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.9506, allocations: 63.89 kB / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.9507, allocations: 19.98 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.9508, allocations: 35.84 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.9509, allocations: 39.83 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.9509, allocations: 12 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.951, allocations: 8 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.951, allocations: 11.98 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.951, allocations: 27.8 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.9512, allocations: 82.34 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9512, allocations: 0 / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9512, allocations: 0 / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9512, allocations: 0 / 1.222 GB, free: 244 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.0006219/0.9519, allocations: 382.7 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.9519, allocations: 12.62 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.952, allocations: 38.73 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.952, allocations: 12.89 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.9522, allocations: 176.3 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.9522, allocations: 4.375 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.9522, allocations: 8.359 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.9525, allocations: 86.08 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.9525, allocations: 7.938 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.9525, allocations: 0 / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.9525, allocations: 4 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.9528, allocations: 67.94 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.9533, allocations: 324.6 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.9535, allocations: 86.59 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.9537, allocations: 44.86 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.9537, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.9537, allocations: 34.56 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.9537, allocations: 0 / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004821/0.9542, allocations: 141.5 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.9543, allocations: 55.41 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.9544, allocations: 118 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.9544, allocations: 33.64 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.9545, allocations: 92.12 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.9545, allocations: 19.8 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.9546, allocations: 21.7 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9547, allocations: 322.7 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.9548, allocations: 35.97 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.9549, allocations: 31.97 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.9551, allocations: 64.81 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9552, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002898/0.9555, allocations: 105.5 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.9555, allocations: 8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9555, allocations: 4 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.9555, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.9557, allocations: 15.98 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9557, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.9558, allocations: 11.98 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.9558, allocations: 0 / 1.224 GB, free: 13.68 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 8.228e-05/0.9559, allocations: 118.3 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.9559, allocations: 7.953 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.956, allocations: 16.36 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.956, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.956, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.956, allocations: 4 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.9562, allocations: 194 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9562, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.9563, allocations: 23.92 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.9563, allocations: 4 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.9564, allocations: 3.984 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9564, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9564, allocations: 4 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.9567, allocations: 203.4 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.9569, allocations: 85 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.9569, allocations: 4 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.957, allocations: 3.984 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.9571, allocations: 15.98 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.9571, allocations: 8 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.86e-05/0.9572, allocations: 99.2 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9572, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002306/0.9574, allocations: 8 kB / 1.225 GB, free: 12.8 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.0006265/0.958, allocations: 0.7475 MB / 1.225 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.9583, allocations: 75.88 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9583, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.9585, allocations: 39.97 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.9588, allocations: 13.81 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.9606, allocations: 1.442 MB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.9609, allocations: 0.6924 MB / 1.228 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.897e-05/0.961, allocations: 8 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.9611, allocations: 27.42 kB / 1.228 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9611, allocations: 0 / 1.228 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.9798, allocations: 2.319 MB / 1.23 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/8.573, allocations: 16.58 kB / 1.23 GB, free: 7.383 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches