Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.01259/0.01259, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.002659/0.002659, allocations: 187.9 kB / 16.67 MB, free: 5.918 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.75/2.75, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.549/4.549, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 66.03 kB / 0.9505 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5827, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002743/0.5855, allocations: 0.7594 MB / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.5873, allocations: 0.8354 MB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.5874, allocations: 7.938 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.5875, allocations: 11.92 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.5877, allocations: 7.922 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.5881, allocations: 27.91 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.5883, allocations: 71.89 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.5886, allocations: 19.98 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.5888, allocations: 35.84 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.5889, allocations: 43.83 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.5889, allocations: 8 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.589, allocations: 8 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.589, allocations: 11.98 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.5891, allocations: 35.73 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.5893, allocations: 71.97 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.5893, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.677e-06/0.5893, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.5893, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 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.0008889/0.5902, allocations: 379.2 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.5903, allocations: 12.03 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.159e-05/0.5904, allocations: 34.75 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.5904, allocations: 12.83 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.5907, allocations: 184.2 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5908, allocations: 8.312 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.5908, allocations: 4.375 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.5912, allocations: 82.2 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5912, allocations: 7.875 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.5913, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5913, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.5917, allocations: 67.94 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.5925, allocations: 324.7 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.5929, allocations: 90.53 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.5931, allocations: 36.92 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.5932, allocations: 4 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.5932, allocations: 34.56 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.5932, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007909/0.594, allocations: 141.5 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.5941, allocations: 51.52 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.5944, allocations: 125.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.5945, allocations: 25.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5946, allocations: 96.09 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.5948, allocations: 19.78 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.5949, allocations: 21.72 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003805/0.5953, allocations: 322.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.5957, allocations: 35.97 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.596, allocations: 27.98 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.5964, allocations: 69.19 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5964, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005057/0.5969, allocations: 105.6 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.597, allocations: 8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.597, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.597, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.5973, allocations: 19.97 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5974, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.5975, allocations: 7.953 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.5975, allocations: 11.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 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.0001748/0.5977, allocations: 109.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.5978, allocations: 12 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.5978, allocations: 8.375 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.5979, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5979, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5979, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.5983, allocations: 205.4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5983, allocations: 3.984 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.5985, allocations: 15.98 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5986, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.5986, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5986, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.5986, allocations: 7.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.5993, allocations: 195.4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.5994, allocations: 93.05 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.5995, allocations: 4.062 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5997, allocations: 8 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5998, allocations: 15.98 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.5998, allocations: 3.984 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001347/0.6, allocations: 103.2 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.22e-07/0.6, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000425/0.6004, allocations: 8 kB / 1.092 GB, free: 12.58 MB / 0.8575 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.001274/0.6017, allocations: 0.7358 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.6023, allocations: 75.88 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6023, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.6027, allocations: 43.97 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.6035, allocations: 5.719 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.6075, allocations: 1.44 MB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/0.6084, allocations: 0.6923 MB / 1.095 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000137/0.6086, allocations: 15.69 kB / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6088, allocations: 27.42 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of SimCode: time 2.154e-06/0.6088, allocations: 0 / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.6444, allocations: 2.318 MB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.48, allocations: 6.391 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches