Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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 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.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.007124/0.007124, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001808/0.001808, allocations: 192.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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6886, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2354/0.924, allocations: 214.1 MB / 1.297 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.9386, allocations: 12.16 MB / 1.308 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.9398, allocations: 47.69 kB / 1.308 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.9409, allocations: 0.5119 MB / 1.309 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.9451, allocations: 1.952 MB / 1.311 GB, free: 8.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.9494, allocations: 1.938 MB / 1.313 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002736/0.9522, allocations: 2.356 MB / 1.315 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.9537, allocations: 1.229 MB / 1.316 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.9551, allocations: 0.8405 MB / 1.317 GB, free: 2.457 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007624/0.9559, allocations: 0.6534 MB / 1.318 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.956, allocations: 92 kB / 1.318 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.9613, allocations: 2.711 MB / 1.32 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.9619, allocations: 0.5415 MB / 1.321 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007951/0.9627, allocations: 0.7425 MB / 1.322 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.9672, allocations: 3.123 MB / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9672, allocations: 4 kB / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9672, allocations: 0 / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.9672, allocations: 0 / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002434/0.9697, allocations: 1.782 MB / 1.326 GB, free: 8.727 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.9698, allocations: 12.03 kB / 1.326 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.9699, allocations: 176.7 kB / 1.327 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.9717, allocations: 390.5 kB / 1.327 GB, free: 8.148 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.9733, allocations: 0.9705 MB / 1.328 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.9734, allocations: 78.06 kB / 1.328 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.9735, allocations: 104 kB / 1.328 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.9756, allocations: 1.533 MB / 1.33 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.9756, allocations: 4 kB / 1.33 GB, free: 5.309 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.9757, allocations: 51.94 kB / 1.33 GB, free: 5.258 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.9758, allocations: 57.55 kB / 1.33 GB, free: 5.199 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.9772, allocations: 1.021 MB / 1.331 GB, free: 4.176 MB / 1.061 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.005885/0.9831, allocations: 5.862 MB / 1.336 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.9837, allocations: 322.2 kB / 1.337 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.984, allocations: 247.3 kB / 1.337 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/0.9847, allocations: 0.7039 MB / 1.338 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.9848, allocations: 46.5 kB / 1.338 GB, free: 12.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.9848, allocations: 0 / 1.338 GB, free: 12.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001339/0.9861, allocations: 0.6686 MB / 1.338 GB, free: 11.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.9862, allocations: 144.6 kB / 1.339 GB, free: 11.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.9881, allocations: 1.678 MB / 1.34 GB, free: 9.953 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.9882, allocations: 29.7 kB / 1.34 GB, free: 9.918 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/0.9887, allocations: 0.5662 MB / 1.341 GB, free: 9.348 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.9887, allocations: 99.16 kB / 1.341 GB, free: 9.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.9889, allocations: 66.16 kB / 1.341 GB, free: 9.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.989, allocations: 322 kB / 1.341 GB, free: 8.859 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.9892, allocations: 163.8 kB / 1.341 GB, free: 8.699 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.9895, allocations: 273.9 kB / 1.342 GB, free: 8.402 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.99, allocations: 408.8 kB / 1.342 GB, free: 7.977 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.99, allocations: 0 / 1.342 GB, free: 7.977 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007219/0.9907, allocations: 0.5473 MB / 1.343 GB, free: 7.422 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9907, allocations: 10.69 kB / 1.343 GB, free: 7.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9908, allocations: 7.938 kB / 1.343 GB, free: 7.406 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9908, allocations: 4 kB / 1.343 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.991, allocations: 55.91 kB / 1.343 GB, free: 7.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.991, allocations: 7.938 kB / 1.343 GB, free: 7.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.9915, allocations: 110.9 kB / 1.343 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.9916, allocations: 27.98 kB / 1.343 GB, free: 7.203 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004203/0.992, allocations: 377.6 kB / 1.343 GB, free: 6.824 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9923, allocations: 151 kB / 1.343 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.9929, allocations: 385.4 kB / 1.344 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.9929, allocations: 0 / 1.344 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.9929, allocations: 7.938 kB / 1.344 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9929, allocations: 0 / 1.344 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.9966, allocations: 2.521 MB / 1.346 GB, free: 3.566 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.9966, allocations: 4 kB / 1.346 GB, free: 3.562 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.9968, allocations: 55.98 kB / 1.346 GB, free: 3.508 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.9968, allocations: 8 kB / 1.346 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.9968, allocations: 12 kB / 1.346 GB, free: 3.488 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.9969, allocations: 16 kB / 1.346 GB, free: 3.473 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.9969, allocations: 11.98 kB / 1.346 GB, free: 3.461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.9975, allocations: 0.6313 MB / 1.347 GB, free: 2.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.9981, allocations: 304 kB / 1.347 GB, free: 2.414 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.9982, allocations: 12 kB / 1.347 GB, free: 2.402 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.9986, allocations: 15.98 kB / 1.347 GB, free: 2.387 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.9987, allocations: 31.86 kB / 1.347 GB, free: 2.355 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.9987, allocations: 16 kB / 1.347 GB, free: 2.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00149/1, allocations: 1.231 MB / 1.348 GB, free: 1.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1, allocations: 3.938 kB / 1.348 GB, free: 1.109 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009746/1.001, allocations: 331.3 kB / 1.349 GB, free: 0.7852 MB / 1.076 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.002147/1.003, allocations: 1.669 MB / 1.35 GB, free: 15.02 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00054/1.004, allocations: 351.6 kB / 1.351 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.004, allocations: 0 / 1.351 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/1.004, allocations: 161.2 kB / 1.351 GB, free: 14.52 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/1.008, allocations: 0.9209 MB / 1.352 GB, free: 13.62 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.02, allocations: 10.52 MB / 1.362 GB, free: 2.758 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/1.021, allocations: 1.208 MB / 1.363 GB, free: 1.52 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008299/1.022, allocations: 302.7 kB / 1.363 GB, free: 1.219 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/1.022, allocations: 463.3 kB / 1.364 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of SimCode: time 8.52e-07/1.022, allocations: 0 / 1.364 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07095/1.093, allocations: 44.02 MB / 1.407 GB, free: 5.227 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.2, allocations: 10.19 kB / 1.407 GB, free: 5.219 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches