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.001591/0.001591, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001745/0.001746, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.161/2.161, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6678, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1908/0.8586, allocations: 211.9 MB / 1.156 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.8703, allocations: 12.16 MB / 1.168 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.8713, allocations: 51.56 kB / 1.168 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009623/0.8723, allocations: 429.4 kB / 1.169 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.8757, allocations: 1.778 MB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.8791, allocations: 1.77 MB / 1.172 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.8812, allocations: 2.383 MB / 1.174 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.8824, allocations: 1.138 MB / 1.175 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.8835, allocations: 0.8444 MB / 1.176 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.8843, allocations: 0.7159 MB / 1.177 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.8844, allocations: 88 kB / 1.177 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.8882, allocations: 3.255 MB / 1.18 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.8886, allocations: 0.5492 MB / 1.181 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.8891, allocations: 0.727 MB / 1.181 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.892, allocations: 3.377 MB / 1.185 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.892, allocations: 0 / 1.185 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.892, allocations: 4 kB / 1.185 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.8921, allocations: 0 / 1.185 GB, free: 15.97 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.001669/0.8937, allocations: 1.729 MB / 1.186 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.8938, allocations: 8.031 kB / 1.186 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.8939, allocations: 168.6 kB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.8954, allocations: 369.8 kB / 1.187 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.8964, allocations: 0.8956 MB / 1.188 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.8964, allocations: 81.97 kB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8965, allocations: 100 kB / 1.188 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.8983, allocations: 1.505 MB / 1.19 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.8983, allocations: 3.938 kB / 1.19 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.8984, allocations: 55.92 kB / 1.19 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.8984, allocations: 65.52 kB / 1.19 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.8996, allocations: 1.017 MB / 1.191 GB, free: 9.766 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.004845/0.9045, allocations: 5.922 MB / 1.196 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.9049, allocations: 326.2 kB / 1.197 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.9052, allocations: 247.7 kB / 1.197 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000547/0.9057, allocations: 0.7039 MB / 1.198 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.9058, allocations: 46.5 kB / 1.198 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.9058, allocations: 0 / 1.198 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001052/0.9068, allocations: 0.6635 MB / 1.198 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.9069, allocations: 140.6 kB / 1.198 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.9085, allocations: 1.654 MB / 1.2 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.9085, allocations: 33.7 kB / 1.2 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.9089, allocations: 0.5541 MB / 1.201 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.909, allocations: 94.64 kB / 1.201 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.9091, allocations: 73.59 kB / 1.201 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.9092, allocations: 317.9 kB / 1.201 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.9094, allocations: 159.9 kB / 1.201 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.9097, allocations: 290.1 kB / 1.202 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.9101, allocations: 434.5 kB / 1.202 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9101, allocations: 0 / 1.202 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006362/0.9107, allocations: 0.562 MB / 1.203 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.9108, allocations: 8 kB / 1.203 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9108, allocations: 0 / 1.203 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.9108, allocations: 4.094 kB / 1.203 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.911, allocations: 63.86 kB / 1.203 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.911, allocations: 4 kB / 1.203 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.9114, allocations: 118.8 kB / 1.203 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.9115, allocations: 23.98 kB / 1.203 GB, free: 12.7 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.0003514/0.9118, allocations: 377.5 kB / 1.203 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.912, allocations: 142.2 kB / 1.203 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.9125, allocations: 385.2 kB / 1.204 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9125, allocations: 4 kB / 1.204 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9125, allocations: 3.984 kB / 1.204 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9125, allocations: 4 kB / 1.204 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.9154, allocations: 2.599 MB / 1.206 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.9154, allocations: 11.94 kB / 1.206 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.9156, allocations: 55.91 kB / 1.206 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.9156, allocations: 7.938 kB / 1.206 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.9157, allocations: 16 kB / 1.206 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.9157, allocations: 8 kB / 1.206 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9157, allocations: 7.938 kB / 1.206 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.9162, allocations: 0.6244 MB / 1.207 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.9166, allocations: 295.2 kB / 1.207 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.9167, allocations: 16 kB / 1.207 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.9171, allocations: 16 kB / 1.207 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.9171, allocations: 39.84 kB / 1.207 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.9172, allocations: 12 kB / 1.207 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001236/0.9184, allocations: 1.207 MB / 1.208 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9184, allocations: 0 / 1.208 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006987/0.9191, allocations: 335.8 kB / 1.209 GB, free: 6.238 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.002012/0.9211, allocations: 1.686 MB / 1.21 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.9216, allocations: 363.9 kB / 1.211 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9216, allocations: 0 / 1.211 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.9218, allocations: 161.3 kB / 1.211 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.9248, allocations: 0.9211 MB / 1.212 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.938, allocations: 11.63 MB / 1.223 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.9388, allocations: 1.208 MB / 1.224 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007732/0.9395, allocations: 298.7 kB / 1.225 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.94, allocations: 463.2 kB / 1.225 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.94, allocations: 0 / 1.225 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.2/4.14, allocations: 42.63 MB / 1.267 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/4.14, allocations: 256.6 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/6.738, allocations: 4 kB / 1.267 GB, free: 273.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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