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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005535/0.005535, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001276/0.001276, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 76.06 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7018, allocations: 140.4 MB / 0.9496 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2243/0.9261, allocations: 212.5 MB / 1.157 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.9415, allocations: 12.27 MB / 1.169 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.9433, allocations: 47.62 kB / 1.169 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.9447, allocations: 405.3 kB / 1.169 GB, free: 424 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.9494, allocations: 1.762 MB / 1.171 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.954, allocations: 1.728 MB / 1.173 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.9575, allocations: 3.069 MB / 1.176 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.9589, allocations: 1.027 MB / 1.177 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.9603, allocations: 0.7195 MB / 1.178 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.9612, allocations: 0.708 MB / 1.178 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.9613, allocations: 48 kB / 1.178 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006348/0.9676, allocations: 3.524 MB / 1.182 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.9682, allocations: 0.4986 MB / 1.182 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000816/0.9691, allocations: 0.6684 MB / 1.183 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.9724, allocations: 2.44 MB / 1.185 GB, free: 168 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9724, allocations: 0 / 1.185 GB, free: 168 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9724, allocations: 4 kB / 1.185 GB, free: 164 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.9725, allocations: 0 / 1.185 GB, free: 164 kB / 0.9356 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.002355/0.9748, allocations: 1.729 MB / 1.187 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.9749, allocations: 8.031 kB / 1.187 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.9766, allocations: 373.8 kB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.9779, allocations: 0.8839 MB / 1.188 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.9779, allocations: 85.97 kB / 1.188 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.9781, allocations: 96 kB / 1.188 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.9801, allocations: 1.513 MB / 1.19 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.9801, allocations: 0 / 1.19 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/0.9802, allocations: 48 kB / 1.19 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-05/0.9803, allocations: 61.47 kB / 1.19 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.9816, allocations: 1.017 MB / 1.191 GB, free: 10.15 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.006161/0.9878, allocations: 5.934 MB / 1.197 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.9884, allocations: 310.2 kB / 1.197 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.9887, allocations: 251.4 kB / 1.197 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.9894, allocations: 0.7042 MB / 1.198 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.9894, allocations: 54.42 kB / 1.198 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/0.9894, allocations: 0 / 1.198 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001278/0.9907, allocations: 0.6675 MB / 1.199 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.9908, allocations: 128.6 kB / 1.199 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.9927, allocations: 1.669 MB / 1.2 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.9927, allocations: 29.7 kB / 1.2 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.9932, allocations: 0.554 MB / 1.201 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.9933, allocations: 90.66 kB / 1.201 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.9934, allocations: 69.69 kB / 1.201 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.9935, allocations: 321.9 kB / 1.201 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.9937, allocations: 159.9 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.994, allocations: 294 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.9945, allocations: 438.6 kB / 1.202 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9945, allocations: 0 / 1.202 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007344/0.9953, allocations: 0.5619 MB / 1.203 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.9953, allocations: 10.19 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9953, allocations: 4 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.9953, allocations: 4 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.9956, allocations: 51.92 kB / 1.203 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.9956, allocations: 11.92 kB / 1.203 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.9962, allocations: 114.8 kB / 1.203 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.9962, allocations: 23.98 kB / 1.203 GB, free: 13.07 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.0004217/0.9967, allocations: 373.6 kB / 1.203 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.9969, allocations: 138.2 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.9974, allocations: 392.8 kB / 1.204 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9974, allocations: 4 kB / 1.204 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9974, allocations: 0 / 1.204 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9974, allocations: 0 / 1.204 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/1.001, allocations: 2.611 MB / 1.207 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.001, allocations: 4 kB / 1.207 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/1.001, allocations: 51.92 kB / 1.207 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.001, allocations: 8 kB / 1.207 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.001, allocations: 11.94 kB / 1.207 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.001, allocations: 15.92 kB / 1.207 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.001, allocations: 8 kB / 1.207 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/1.002, allocations: 0.6127 MB / 1.207 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/1.002, allocations: 303.1 kB / 1.207 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.002, allocations: 16 kB / 1.208 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/1.003, allocations: 15.94 kB / 1.208 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/1.003, allocations: 39.84 kB / 1.208 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/1.003, allocations: 16 kB / 1.208 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001407/1.004, allocations: 1.211 MB / 1.209 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.593e-06/1.004, allocations: 0 / 1.209 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001024/1.005, allocations: 339.7 kB / 1.209 GB, free: 6.605 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.001605/1.007, allocations: 0.6197 MB / 1.21 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000541/1.007, allocations: 343.5 kB / 1.21 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.007, allocations: 0.5 kB / 1.21 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/1.008, allocations: 159.7 kB / 1.21 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.011, allocations: 0.8764 MB / 1.211 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/1.014, allocations: 2.48 MB / 1.213 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/1.015, allocations: 1.197 MB / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/1.015, allocations: 83.44 kB / 1.215 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/1.015, allocations: 0 / 1.215 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of Templates: time 0.0342/1.049, allocations: 24.72 MB / 1.239 GB, free: 8.195 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (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 & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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