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: 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.001453/0.001454, 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.001682/0.001683, allocations: 194.2 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.406/2.406, allocations: 390.2 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 63.91 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7807, allocations: 140.4 MB / 0.9496 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2566/1.037, allocations: 214.1 MB / 1.159 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01574/1.053, allocations: 12.17 MB / 1.171 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/1.055, allocations: 43.69 kB / 1.171 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/1.057, allocations: 0.508 MB / 1.171 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/1.062, allocations: 1.874 MB / 1.173 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/1.067, allocations: 1.894 MB / 1.175 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003284/1.07, allocations: 2.368 MB / 1.177 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/1.072, allocations: 1.212 MB / 1.178 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/1.073, allocations: 0.8288 MB / 1.179 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008116/1.074, allocations: 0.6496 MB / 1.18 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/1.074, allocations: 88 kB / 1.18 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/1.08, allocations: 2.84 MB / 1.183 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006522/1.081, allocations: 0.5415 MB / 1.183 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009729/1.082, allocations: 0.727 MB / 1.184 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005795/1.088, allocations: 3.121 MB / 1.187 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.088, allocations: 0 / 1.187 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/1.088, allocations: 0 / 1.187 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.821e-05/1.088, allocations: 0 / 1.187 GB, free: 14.05 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.002557/1.091, allocations: 1.733 MB / 1.189 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.091, allocations: 12.03 kB / 1.189 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.092, allocations: 373.8 kB / 1.189 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/1.094, allocations: 0.8917 MB / 1.19 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/1.094, allocations: 74.03 kB / 1.19 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.094, allocations: 100 kB / 1.19 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.096, allocations: 1.509 MB / 1.191 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.096, allocations: 7.938 kB / 1.191 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/1.096, allocations: 44 kB / 1.191 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/1.096, allocations: 69.47 kB / 1.192 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/1.097, allocations: 1.013 MB / 1.192 GB, free: 8.027 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.006181/1.104, allocations: 5.934 MB / 1.198 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/1.104, allocations: 322.2 kB / 1.199 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/1.104, allocations: 243.4 kB / 1.199 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/1.105, allocations: 0.7159 MB / 1.2 GB, free: 320 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.105, allocations: 38.55 kB / 1.2 GB, free: 272 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.305e-06/1.105, allocations: 0 / 1.2 GB, free: 272 kB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001321/1.107, allocations: 0.6674 MB / 1.2 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/1.107, allocations: 140.5 kB / 1.2 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.108, allocations: 1.654 MB / 1.202 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/1.109, allocations: 29.7 kB / 1.202 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/1.109, allocations: 0.5501 MB / 1.203 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/1.109, allocations: 106.7 kB / 1.203 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.109, allocations: 65.69 kB / 1.203 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/1.109, allocations: 321.9 kB / 1.203 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/1.11, allocations: 163.9 kB / 1.203 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.11, allocations: 294.2 kB / 1.203 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/1.11, allocations: 430.5 kB / 1.204 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.11, allocations: 0 / 1.204 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007477/1.111, allocations: 0.562 MB / 1.204 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.111, allocations: 10.12 kB / 1.204 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.111, allocations: 4 kB / 1.204 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.111, allocations: 7.938 kB / 1.204 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.111, allocations: 59.91 kB / 1.204 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.111, allocations: 4 kB / 1.204 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/1.112, allocations: 106.5 kB / 1.205 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/1.112, allocations: 23.98 kB / 1.205 GB, free: 10.95 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.000426/1.112, allocations: 381.5 kB / 1.205 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/1.113, allocations: 138.2 kB / 1.205 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/1.113, allocations: 380.7 kB / 1.205 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.113, allocations: 4 kB / 1.205 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.113, allocations: 0 / 1.205 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.113, allocations: 0 / 1.205 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/1.117, allocations: 2.611 MB / 1.208 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.117, allocations: 4 kB / 1.208 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.117, allocations: 55.86 kB / 1.208 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.117, allocations: 8.75 kB / 1.208 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.117, allocations: 11.94 kB / 1.208 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.117, allocations: 12 kB / 1.208 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.117, allocations: 11.94 kB / 1.208 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/1.118, allocations: 0.6201 MB / 1.209 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/1.118, allocations: 303.1 kB / 1.209 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1.118, allocations: 12 kB / 1.209 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/1.118, allocations: 12 kB / 1.209 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/1.119, allocations: 35.84 kB / 1.209 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/1.119, allocations: 16 kB / 1.209 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001386/1.12, allocations: 1.203 MB / 1.21 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.41e-07/1.12, allocations: 0 / 1.21 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001043/1.121, allocations: 347.7 kB / 1.211 GB, free: 4.492 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.001597/1.123, allocations: 0.6209 MB / 1.211 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005749/1.123, allocations: 363.8 kB / 1.212 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.123, allocations: 8.188 kB / 1.212 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/1.123, allocations: 151.7 kB / 1.212 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.127, allocations: 0.9303 MB / 1.213 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/1.13, allocations: 2.105 MB / 1.215 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/1.131, allocations: 1.197 MB / 1.216 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009049/1.132, allocations: 302.6 kB / 1.216 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/1.132, allocations: 79.44 kB / 1.216 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of SimCode: time 1.322e-06/1.132, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.05084/1.183, allocations: 30.21 MB / 1.246 GB, free: 0.8359 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/jenkins/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