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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 128 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.001925/0.001925, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.925/2.925, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 71.73 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4177, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002929/0.4207, allocations: 0.7727 MB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.4223, allocations: 0.8428 MB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.4224, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.506e-05/0.4225, allocations: 7.922 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.4227, allocations: 11.88 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.4229, allocations: 27.97 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.4231, allocations: 67.89 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.4234, allocations: 19.94 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.4236, allocations: 39.83 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.4237, allocations: 35.78 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.4238, allocations: 12 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.4238, allocations: 8 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.4239, allocations: 11.98 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.4239, allocations: 39.77 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.4241, allocations: 71.77 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4241, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4241, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.4242, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 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.000902/0.4251, allocations: 375.5 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.4252, allocations: 12.03 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.4252, allocations: 38.75 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.4253, allocations: 8.844 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4255, allocations: 180.2 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4256, allocations: 4.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.4256, allocations: 4.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.4259, allocations: 82.14 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4259, allocations: 3.938 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.4259, allocations: 8 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.426, allocations: 4 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.4263, allocations: 63.94 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.4269, allocations: 324.6 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.4272, allocations: 86.53 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.4274, allocations: 40.92 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.4274, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4274, allocations: 38.5 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4274, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0005686/0.428, allocations: 137.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4281, allocations: 55.41 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4282, allocations: 117.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.4282, allocations: 25.7 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.4283, allocations: 96.12 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.4284, allocations: 15.66 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.4284, allocations: 21.7 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4286, allocations: 330.8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.4287, allocations: 28.09 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4288, allocations: 33.95 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.4291, allocations: 76.75 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4291, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002939/0.4294, allocations: 105.5 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4294, allocations: 8 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4294, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4295, allocations: 3.938 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4296, allocations: 19.97 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4296, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.4297, allocations: 4 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4297, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 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.0001009/0.4298, allocations: 129.7 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.4299, allocations: 4 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.4299, allocations: 8.375 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4299, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4299, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4299, allocations: 4 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4302, allocations: 201.5 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4302, allocations: 3.984 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4303, allocations: 19.97 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4303, allocations: 0 / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4303, allocations: 0 / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4303, allocations: 4 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4304, allocations: 0 / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.4308, allocations: 203.4 kB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4308, allocations: 81.02 kB / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.4309, allocations: 12.11 kB / 1.068 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.431, allocations: 4 kB / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.4311, allocations: 19.98 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4311, allocations: 3.984 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.725e-05/0.4312, allocations: 95.27 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4312, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000241/0.4314, allocations: 15.94 kB / 1.069 GB, free: 9.051 MB / 0.8262 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.0008466/0.4323, allocations: 0.7401 MB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.4326, allocations: 79.88 kB / 1.069 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4326, allocations: 0 / 1.069 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4328, allocations: 43.97 kB / 1.069 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.4332, allocations: 8.766 kB / 1.069 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4352, allocations: 1.438 MB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.4355, allocations: 0.6885 MB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.693e-05/0.4356, allocations: 8.172 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.4357, allocations: 27.42 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/0.4357, allocations: 3.938 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.4571, allocations: 2.282 MB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.286, allocations: 9.859 kB / 1.074 GB, free: 3.672 MB / 0.8262 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