Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 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.001126/0.001127, allocations: 194 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.578, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1972/0.7753, allocations: 214.1 MB / 1.226 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.7888, allocations: 12.17 MB / 1.238 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.79, allocations: 43.69 kB / 1.238 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.7912, allocations: 0.5119 MB / 1.239 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.7953, allocations: 1.87 MB / 1.241 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.7993, allocations: 1.897 MB / 1.243 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.8017, allocations: 2.34 MB / 1.245 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.8032, allocations: 1.24 MB / 1.246 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.8044, allocations: 0.8172 MB / 1.247 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.8052, allocations: 0.6535 MB / 1.248 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.8054, allocations: 92 kB / 1.248 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.8102, allocations: 2.852 MB / 1.25 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004947/0.8107, allocations: 0.5454 MB / 1.251 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/0.8116, allocations: 0.7309 MB / 1.252 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5169/1.329, allocations: 3.135 MB / 1.255 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.329, allocations: 0.9688 kB / 1.255 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.329, allocations: 1.859 kB / 1.255 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.02e-05/1.329, allocations: 0 / 1.255 GB, free: 10.5 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00261/1.331, allocations: 1.742 MB / 1.256 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.331, allocations: 10.31 kB / 1.256 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/1.332, allocations: 171.5 kB / 1.257 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/1.333, allocations: 370.7 kB / 1.257 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.335, allocations: 0.8966 MB / 1.258 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/1.335, allocations: 80.41 kB / 1.258 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/1.335, allocations: 98.38 kB / 1.258 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/1.337, allocations: 1.531 MB / 1.259 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/1.337, allocations: 5.812 kB / 1.259 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.337, allocations: 49.88 kB / 1.26 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/1.338, allocations: 59.64 kB / 1.26 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/1.339, allocations: 1.027 MB / 1.261 GB, free: 8.965 MB / 0.9981 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.006648/1.346, allocations: 5.971 MB / 1.266 GB, free: 21.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/1.346, allocations: 317.9 kB / 1.267 GB, free: 21.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/1.347, allocations: 249.1 kB / 1.267 GB, free: 21.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/1.348, allocations: 0.7085 MB / 1.268 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.348, allocations: 43.55 kB / 1.268 GB, free: 20.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/1.348, allocations: 0 / 1.268 GB, free: 20.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001541/1.349, allocations: 0.6701 MB / 1.268 GB, free: 20.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.349, allocations: 132.8 kB / 1.268 GB, free: 20.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/1.352, allocations: 1.681 MB / 1.27 GB, free: 20.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/1.352, allocations: 33.08 kB / 1.27 GB, free: 20.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/1.353, allocations: 0.5576 MB / 1.271 GB, free: 20.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/1.353, allocations: 96.19 kB / 1.271 GB, free: 19.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.353, allocations: 68.36 kB / 1.271 GB, free: 19.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.353, allocations: 321.1 kB / 1.271 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/1.353, allocations: 159.1 kB / 1.271 GB, free: 19.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/1.353, allocations: 267.5 kB / 1.272 GB, free: 19.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/1.354, allocations: 411.8 kB / 1.272 GB, free: 19.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.354, allocations: 0.9062 kB / 1.272 GB, free: 19.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008083/1.355, allocations: 0.5434 MB / 1.272 GB, free: 19.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/1.355, allocations: 7.891 kB / 1.272 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.355, allocations: 2.25 kB / 1.272 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.355, allocations: 4.281 kB / 1.272 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.355, allocations: 55.2 kB / 1.273 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.355, allocations: 8.984 kB / 1.273 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/1.356, allocations: 109 kB / 1.273 GB, free: 19.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/1.356, allocations: 22.66 kB / 1.273 GB, free: 19.31 MB / 1.014 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.0004534/1.356, allocations: 378.4 kB / 1.273 GB, free: 19.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/1.357, allocations: 141 kB / 1.273 GB, free: 19.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/1.357, allocations: 384.1 kB / 1.274 GB, free: 19.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/1.357, allocations: 3.656 kB / 1.274 GB, free: 19.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.357, allocations: 2.016 kB / 1.274 GB, free: 19.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.357, allocations: 3.469 kB / 1.274 GB, free: 19.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/1.361, allocations: 2.611 MB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.361, allocations: 8.594 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.361, allocations: 54.19 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/1.361, allocations: 8.75 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/1.361, allocations: 12.16 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.361, allocations: 17 kB / 1.276 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.361, allocations: 15.56 kB / 1.276 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/1.362, allocations: 0.6116 MB / 1.277 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/1.362, allocations: 295.4 kB / 1.277 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/1.362, allocations: 19.09 kB / 1.277 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/1.363, allocations: 11.44 kB / 1.277 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/1.363, allocations: 38.81 kB / 1.277 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/1.363, allocations: 17.12 kB / 1.277 GB, free: 17.53 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001463/1.364, allocations: 1.225 MB / 1.278 GB, free: 17.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.364, allocations: 0.8438 kB / 1.278 GB, free: 17.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009962/1.365, allocations: 337 kB / 1.279 GB, free: 17.39 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.002223/1.368, allocations: 1.685 MB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004979/1.368, allocations: 357.2 kB / 1.281 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.368, allocations: 1.438 kB / 1.281 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/1.368, allocations: 161.1 kB / 1.281 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.372, allocations: 0.9196 MB / 1.282 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.384, allocations: 11.56 MB / 1.293 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/1.384, allocations: 1.208 MB / 1.294 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001085/1.386, allocations: 295.8 kB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/1.386, allocations: 463.1 kB / 1.295 GB, free: 11.64 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.386, allocations: 0 / 1.295 GB, free: 11.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06579/1.452, allocations: 43.13 MB / 1.337 GB, free: 1.508 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/9.662, allocations: 10.08 kB / 1.337 GB, free: 1.5 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches