Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.001629/0.001629, allocations: 108 kB / 15.6 MB, free: 132 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.001864/0.001864, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.45 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2585, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.7107/0.9693, allocations: 214.1 MB / 1.273 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.9815, allocations: 12.17 MB / 1.285 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.9829, allocations: 42.72 kB / 1.285 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.984, allocations: 0.5027 MB / 1.285 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.9882, allocations: 1.887 MB / 1.287 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.9925, allocations: 1.898 MB / 1.289 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003165/0.9957, allocations: 2.371 MB / 1.291 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.9974, allocations: 1.201 MB / 1.292 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.9988, allocations: 0.8276 MB / 1.293 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.9996, allocations: 0.6537 MB / 1.294 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.9998, allocations: 89.59 kB / 1.294 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/1.005, allocations: 2.844 MB / 1.297 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004548/1.006, allocations: 0.5345 MB / 1.297 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007334/1.007, allocations: 0.733 MB / 1.298 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004683/1.011, allocations: 3.122 MB / 1.301 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.011, allocations: 1.5 kB / 1.301 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.011, allocations: 0 / 1.301 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.011, allocations: 1 kB / 1.301 GB, free: 3.824 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002218/1.014, allocations: 1.727 MB / 1.303 GB, free: 18.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.014, allocations: 10.09 kB / 1.303 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/1.014, allocations: 167.6 kB / 1.303 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.015, allocations: 373.8 kB / 1.303 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.017, allocations: 0.8879 MB / 1.304 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/1.017, allocations: 80.12 kB / 1.304 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.017, allocations: 98.12 kB / 1.304 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/1.02, allocations: 1.511 MB / 1.306 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.02, allocations: 5.25 kB / 1.306 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.02, allocations: 48.12 kB / 1.306 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/1.02, allocations: 59.39 kB / 1.306 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/1.021, allocations: 1.014 MB / 1.307 GB, free: 18.12 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006252/1.028, allocations: 5.937 MB / 1.313 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/1.028, allocations: 315.4 kB / 1.313 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/1.029, allocations: 249.7 kB / 1.313 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/1.029, allocations: 0.7094 MB / 1.314 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.029, allocations: 44.59 kB / 1.314 GB, free: 13.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/1.029, allocations: 1.031 kB / 1.314 GB, free: 13.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001205/1.03, allocations: 0.6718 MB / 1.314 GB, free: 13.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.031, allocations: 136 kB / 1.315 GB, free: 13.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/1.032, allocations: 1.657 MB / 1.316 GB, free: 13.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/1.032, allocations: 31.83 kB / 1.316 GB, free: 13.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/1.033, allocations: 0.5526 MB / 1.317 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/1.033, allocations: 93.48 kB / 1.317 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/1.033, allocations: 76.05 kB / 1.317 GB, free: 13.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/1.033, allocations: 319.5 kB / 1.317 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/1.033, allocations: 168.2 kB / 1.317 GB, free: 12.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/1.034, allocations: 283 kB / 1.318 GB, free: 12.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.034, allocations: 433.3 kB / 1.318 GB, free: 12.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.034, allocations: 1.031 kB / 1.318 GB, free: 12.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007195/1.035, allocations: 0.5618 MB / 1.319 GB, free: 12.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.035, allocations: 7.219 kB / 1.319 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.035, allocations: 6.281 kB / 1.319 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.035, allocations: 8.094 kB / 1.319 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/1.035, allocations: 59.17 kB / 1.319 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.035, allocations: 5.844 kB / 1.319 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/1.036, allocations: 103 kB / 1.319 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/1.036, allocations: 25.06 kB / 1.319 GB, free: 12.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0003951/1.036, allocations: 379.8 kB / 1.319 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/1.036, allocations: 137.8 kB / 1.319 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/1.037, allocations: 392.8 kB / 1.32 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.037, allocations: 2.938 kB / 1.32 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.037, allocations: 1.438 kB / 1.32 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.037, allocations: 5.484 kB / 1.32 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/1.04, allocations: 2.597 MB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.04, allocations: 6.062 kB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.04, allocations: 52.25 kB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/1.04, allocations: 8.25 kB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/1.04, allocations: 15.78 kB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/1.04, allocations: 10.59 kB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.04, allocations: 12.22 kB / 1.322 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/1.041, allocations: 0.617 MB / 1.323 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/1.041, allocations: 295.4 kB / 1.323 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.042, allocations: 20 kB / 1.323 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/1.042, allocations: 10.52 kB / 1.323 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/1.042, allocations: 45.89 kB / 1.323 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/1.042, allocations: 19.34 kB / 1.323 GB, free: 10.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001271/1.043, allocations: 1.206 MB / 1.325 GB, free: 10.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.043, allocations: 0 / 1.325 GB, free: 10.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001071/1.044, allocations: 334.6 kB / 1.325 GB, free: 10.44 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.002272/1.047, allocations: 1.679 MB / 1.326 GB, free: 9.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004982/1.047, allocations: 366.1 kB / 1.327 GB, free: 9.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.047, allocations: 0 / 1.327 GB, free: 9.453 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/1.047, allocations: 160.8 kB / 1.327 GB, free: 9.453 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.051, allocations: 0.9242 MB / 1.328 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.063, allocations: 11.4 MB / 1.339 GB, free: 5.203 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/1.064, allocations: 1.198 MB / 1.34 GB, free: 4.488 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001154/1.065, allocations: 302.8 kB / 1.34 GB, free: 4.426 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/1.066, allocations: 458.2 kB / 1.341 GB, free: 4.418 MB / 1.014 GB Notification: Performance of SimCode: time 8.91e-07/1.066, allocations: 0 / 1.341 GB, free: 4.418 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/1.141, allocations: 42.92 MB / 1.383 GB, free: 12.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/9.326, allocations: 0 / 1.383 GB, free: 12.12 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_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_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches