Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BoundaryWithX_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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, 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.001166/0.001167, allocations: 194.3 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.377/1.377, 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.359/2.359, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6911, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2495/0.9406, allocations: 214.1 MB / 1.159 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.9596, allocations: 12.16 MB / 1.171 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.9617, allocations: 43.69 kB / 1.171 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.9633, allocations: 0.508 MB / 1.171 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.9693, allocations: 1.878 MB / 1.173 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.9747, allocations: 1.898 MB / 1.175 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003997/0.9787, allocations: 2.332 MB / 1.177 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.9806, allocations: 1.248 MB / 1.178 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.9825, allocations: 0.8094 MB / 1.179 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.9834, allocations: 0.669 MB / 1.18 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.9836, allocations: 92 kB / 1.18 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007026/0.9906, allocations: 2.844 MB / 1.183 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007451/0.9914, allocations: 0.5376 MB / 1.183 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.9925, allocations: 0.7348 MB / 1.184 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007586/1, allocations: 3.144 MB / 1.187 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/1, allocations: 0 / 1.187 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.304e-06/1, allocations: 3.938 kB / 1.187 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.493e-05/1, allocations: 0 / 1.187 GB, free: 14.07 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003813/1.004, allocations: 1.744 MB / 1.189 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/1.004, allocations: 8.031 kB / 1.189 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/1.006, allocations: 373.8 kB / 1.189 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/1.007, allocations: 0.8994 MB / 1.19 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/1.008, allocations: 78.06 kB / 1.19 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.008, allocations: 103.9 kB / 1.19 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/1.01, allocations: 1.533 MB / 1.191 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/1.01, allocations: 0 / 1.191 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.011, allocations: 51.98 kB / 1.192 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-05/1.011, allocations: 65.48 kB / 1.192 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.012, allocations: 1.032 MB / 1.193 GB, free: 7.973 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.007641/1.02, allocations: 5.957 MB / 1.198 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/1.02, allocations: 318.2 kB / 1.199 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/1.021, allocations: 251.3 kB / 1.199 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008703/1.022, allocations: 0.7039 MB / 1.2 GB, free: 252 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.022, allocations: 42.56 kB / 1.2 GB, free: 200 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/1.022, allocations: 0 / 1.2 GB, free: 200 kB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001421/1.023, allocations: 0.6722 MB / 1.2 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.023, allocations: 128.5 kB / 1.2 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.026, allocations: 1.69 MB / 1.202 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/1.026, allocations: 33.7 kB / 1.202 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/1.026, allocations: 0.5621 MB / 1.203 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/1.026, allocations: 94.64 kB / 1.203 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.027, allocations: 61.69 kB / 1.203 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.027, allocations: 318 kB / 1.203 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/1.027, allocations: 155.9 kB / 1.203 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/1.027, allocations: 276.9 kB / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/1.028, allocations: 400.3 kB / 1.204 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.028, allocations: 4 kB / 1.204 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008521/1.029, allocations: 0.5385 MB / 1.204 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.029, allocations: 10.19 kB / 1.204 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.029, allocations: 4.188 kB / 1.204 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.029, allocations: 4 kB / 1.204 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.029, allocations: 55.92 kB / 1.205 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.029, allocations: 15.86 kB / 1.205 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/1.03, allocations: 110.6 kB / 1.205 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/1.03, allocations: 19.98 kB / 1.205 GB, free: 10.94 MB / 0.9669 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.00054/1.031, allocations: 377.6 kB / 1.205 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/1.031, allocations: 134.3 kB / 1.205 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/1.032, allocations: 397.4 kB / 1.206 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.032, allocations: 4 kB / 1.206 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.032, allocations: 3.938 kB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.032, allocations: 96 / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/1.036, allocations: 2.607 MB / 1.208 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/1.036, allocations: 4 kB / 1.208 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.036, allocations: 55.91 kB / 1.208 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.036, allocations: 8 kB / 1.208 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/1.036, allocations: 12.66 kB / 1.208 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.036, allocations: 11.94 kB / 1.208 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.036, allocations: 12 kB / 1.208 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.037, allocations: 0.6241 MB / 1.209 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/1.038, allocations: 299.1 kB / 1.209 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.038, allocations: 19.98 kB / 1.209 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/1.038, allocations: 4 kB / 1.209 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/1.038, allocations: 43.84 kB / 1.209 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/1.038, allocations: 12 kB / 1.209 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001611/1.04, allocations: 1.227 MB / 1.21 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/1.04, allocations: 0 / 1.21 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001161/1.041, allocations: 335.8 kB / 1.211 GB, free: 4.457 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.001988/1.043, allocations: 0.6315 MB / 1.211 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006523/1.044, allocations: 347.5 kB / 1.212 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.044, allocations: 384 / 1.212 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.044, allocations: 171.5 kB / 1.212 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.048, allocations: 0.9191 MB / 1.213 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/1.051, allocations: 2.141 MB / 1.215 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/1.052, allocations: 1.208 MB / 1.216 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001039/1.053, allocations: 298.7 kB / 1.216 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.054, allocations: 87.42 kB / 1.216 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/1.054, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of Templates: time 0.05219/1.106, allocations: 30.27 MB / 1.246 GB, free: 0.6875 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches