Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_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.001122/0.001122, 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.001118/0.001118, allocations: 194.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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.406 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 2.32/2.32, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5565, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2058/0.7623, allocations: 214.1 MB / 1.159 GB, free: 11 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.7766, allocations: 12.17 MB / 1.171 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.7777, allocations: 47.69 kB / 1.171 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.779, allocations: 0.4963 MB / 1.171 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.7834, allocations: 1.886 MB / 1.173 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.7876, allocations: 1.9 MB / 1.175 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002665/0.7903, allocations: 2.371 MB / 1.177 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.7919, allocations: 1.201 MB / 1.178 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.7935, allocations: 0.821 MB / 1.179 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.7946, allocations: 0.6573 MB / 1.18 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.7949, allocations: 92 kB / 1.18 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005428/0.8003, allocations: 2.844 MB / 1.183 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.8009, allocations: 0.5337 MB / 1.183 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009964/0.8019, allocations: 0.7309 MB / 1.184 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.8065, allocations: 3.117 MB / 1.187 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.8065, allocations: 0 / 1.187 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8065, allocations: 3.938 kB / 1.187 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.8066, allocations: 0 / 1.187 GB, free: 14.04 MB / 0.9512 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.002597/0.8092, allocations: 1.734 MB / 1.189 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8092, allocations: 16.02 kB / 1.189 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.8094, allocations: 164.6 kB / 1.189 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.8112, allocations: 373.8 kB / 1.189 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.8125, allocations: 0.8878 MB / 1.19 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.8125, allocations: 78.03 kB / 1.19 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.8127, allocations: 96 kB / 1.19 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.8147, allocations: 1.513 MB / 1.192 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.8148, allocations: 7.875 kB / 1.192 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.8149, allocations: 55.94 kB / 1.192 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/0.8149, allocations: 57.53 kB / 1.192 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.8164, allocations: 1.021 MB / 1.193 GB, free: 7.828 MB / 0.9512 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.006267/0.8226, allocations: 5.926 MB / 1.199 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.8232, allocations: 322.1 kB / 1.199 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.8235, allocations: 247.4 kB / 1.199 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006654/0.8242, allocations: 0.7039 MB / 1.2 GB, free: 132 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.8243, allocations: 50.55 kB / 1.2 GB, free: 72 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.8243, allocations: 3.938 kB / 1.2 GB, free: 68 kB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001267/0.8255, allocations: 0.6567 MB / 1.201 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.8256, allocations: 136.5 kB / 1.201 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.8276, allocations: 1.658 MB / 1.202 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.8276, allocations: 37.83 kB / 1.202 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.8281, allocations: 0.5501 MB / 1.203 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.8282, allocations: 98.64 kB / 1.203 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.8283, allocations: 65.69 kB / 1.203 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.8284, allocations: 325.9 kB / 1.203 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.8286, allocations: 155.9 kB / 1.203 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.8289, allocations: 294.1 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.8294, allocations: 434 kB / 1.204 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8294, allocations: 0 / 1.204 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007713/0.8302, allocations: 0.562 MB / 1.205 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8302, allocations: 8 kB / 1.205 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8302, allocations: 0 / 1.205 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8303, allocations: 4 kB / 1.205 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.8305, allocations: 63.91 kB / 1.205 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8305, allocations: 4 kB / 1.205 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.831, allocations: 106.5 kB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.8311, allocations: 19.98 kB / 1.205 GB, free: 10.77 MB / 0.9669 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.0004113/0.8315, allocations: 385.7 kB / 1.205 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.8317, allocations: 138.3 kB / 1.205 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.8323, allocations: 389.2 kB / 1.206 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8323, allocations: 3.984 kB / 1.206 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8323, allocations: 7.938 kB / 1.206 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8323, allocations: 0 / 1.206 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.8359, allocations: 2.599 MB / 1.208 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.836, allocations: 8.797 kB / 1.208 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.8362, allocations: 55.86 kB / 1.208 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.8362, allocations: 15.94 kB / 1.208 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.8362, allocations: 12 kB / 1.208 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.8362, allocations: 8 kB / 1.208 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8362, allocations: 7.938 kB / 1.208 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.8369, allocations: 0.624 MB / 1.209 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.8373, allocations: 295.1 kB / 1.209 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.8375, allocations: 16 kB / 1.209 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.8379, allocations: 12 kB / 1.209 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.8379, allocations: 35.84 kB / 1.209 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.8379, allocations: 16 kB / 1.209 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001537/0.8395, allocations: 1.203 MB / 1.211 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8395, allocations: 0 / 1.211 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000941/0.8404, allocations: 339.8 kB / 1.211 GB, free: 4.309 MB / 0.9669 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.00248/0.8429, allocations: 1.677 MB / 1.213 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.8435, allocations: 363.8 kB / 1.213 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8435, allocations: 0 / 1.213 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.8437, allocations: 161.6 kB / 1.213 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/0.8475, allocations: 0.9341 MB / 1.214 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.8622, allocations: 11.4 MB / 1.225 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.863, allocations: 1.2 MB / 1.226 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009343/0.864, allocations: 302.6 kB / 1.227 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.8645, allocations: 459.3 kB / 1.227 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of SimCode: time 7.22e-07/0.8645, allocations: 0 / 1.227 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4677/1.332, allocations: 42.88 MB / 1.269 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.608, allocations: 7.312 kB / 1.269 GB, free: 273.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches