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.008007/0.008007, allocations: 105.5 kB / 15.74 MB, free: 6.027 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.00187/0.00187, allocations: 189.7 kB / 16.67 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.253/2.253, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8382, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2508/1.089, allocations: 214.1 MB / 1.297 GB, free: 7.477 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01491/1.104, allocations: 12.17 MB / 1.309 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/1.105, allocations: 43.69 kB / 1.309 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/1.107, allocations: 0.508 MB / 1.309 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004758/1.112, allocations: 1.958 MB / 1.311 GB, free: 8.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/1.116, allocations: 1.938 MB / 1.313 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002989/1.119, allocations: 2.352 MB / 1.315 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.121, allocations: 1.236 MB / 1.317 GB, free: 3.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/1.123, allocations: 0.8327 MB / 1.318 GB, free: 2.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/1.124, allocations: 0.6612 MB / 1.318 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/1.124, allocations: 88 kB / 1.318 GB, free: 1.617 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005605/1.13, allocations: 2.719 MB / 1.321 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007239/1.131, allocations: 0.5454 MB / 1.321 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/1.132, allocations: 0.7308 MB / 1.322 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005623/1.138, allocations: 3.105 MB / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.138, allocations: 3.938 kB / 1.325 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/1.138, allocations: 0 / 1.325 GB, free: 10.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.311e-05/1.138, allocations: 0 / 1.325 GB, free: 10.49 MB / 1.061 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.002958/1.141, allocations: 1.748 MB / 1.327 GB, free: 8.688 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.141, allocations: 8.031 kB / 1.327 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/1.142, allocations: 377.7 kB / 1.327 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/1.144, allocations: 0.958 MB / 1.328 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/1.144, allocations: 82 kB / 1.328 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/1.144, allocations: 100 kB / 1.328 GB, free: 7.125 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/1.147, allocations: 1.533 MB / 1.33 GB, free: 5.484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.147, allocations: 3.938 kB / 1.33 GB, free: 5.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-05/1.147, allocations: 48 kB / 1.33 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-05/1.147, allocations: 61.47 kB / 1.33 GB, free: 5.371 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.148, allocations: 1.025 MB / 1.331 GB, free: 4.344 MB / 1.061 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.005976/1.154, allocations: 5.848 MB / 1.337 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/1.155, allocations: 326.1 kB / 1.337 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/1.155, allocations: 243.4 kB / 1.337 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/1.156, allocations: 0.7117 MB / 1.338 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.156, allocations: 34.56 kB / 1.338 GB, free: 12.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 3.637e-06/1.156, allocations: 3.938 kB / 1.338 GB, free: 12.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001286/1.157, allocations: 0.6722 MB / 1.339 GB, free: 11.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/1.157, allocations: 136.5 kB / 1.339 GB, free: 11.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/1.159, allocations: 1.682 MB / 1.34 GB, free: 10.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/1.159, allocations: 33.7 kB / 1.34 GB, free: 10.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/1.16, allocations: 0.5583 MB / 1.341 GB, free: 9.535 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/1.16, allocations: 98.77 kB / 1.341 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.16, allocations: 66.09 kB / 1.341 GB, free: 9.367 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.16, allocations: 318 kB / 1.341 GB, free: 9.051 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.161, allocations: 159.9 kB / 1.342 GB, free: 8.895 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/1.161, allocations: 262 kB / 1.342 GB, free: 8.609 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/1.161, allocations: 416.3 kB / 1.342 GB, free: 8.172 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.161, allocations: 3.984 kB / 1.342 GB, free: 8.168 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007741/1.162, allocations: 0.5424 MB / 1.343 GB, free: 7.617 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.162, allocations: 8 kB / 1.343 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.162, allocations: 4 kB / 1.343 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.162, allocations: 4 kB / 1.343 GB, free: 7.602 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/1.162, allocations: 55.98 kB / 1.343 GB, free: 7.547 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.162, allocations: 7.938 kB / 1.343 GB, free: 7.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/1.163, allocations: 114.7 kB / 1.343 GB, free: 7.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/1.163, allocations: 16 kB / 1.343 GB, free: 7.41 MB / 1.076 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.0004502/1.164, allocations: 381.6 kB / 1.343 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/1.164, allocations: 138.2 kB / 1.343 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/1.164, allocations: 389.2 kB / 1.344 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.164, allocations: 4 kB / 1.344 GB, free: 6.484 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.164, allocations: 11.92 kB / 1.344 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.164, allocations: 4 kB / 1.344 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/1.168, allocations: 2.506 MB / 1.346 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.168, allocations: 8 kB / 1.346 GB, free: 3.773 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.168, allocations: 51.94 kB / 1.346 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.168, allocations: 12 kB / 1.346 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.168, allocations: 12 kB / 1.346 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/1.168, allocations: 11.94 kB / 1.346 GB, free: 3.688 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.168, allocations: 7.938 kB / 1.346 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/1.169, allocations: 0.6232 MB / 1.347 GB, free: 2.957 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/1.169, allocations: 299.2 kB / 1.347 GB, free: 2.645 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/1.17, allocations: 11.98 kB / 1.347 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/1.17, allocations: 15.98 kB / 1.347 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.17, allocations: 43.78 kB / 1.347 GB, free: 2.574 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/1.17, allocations: 16 kB / 1.347 GB, free: 2.559 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001547/1.172, allocations: 1.219 MB / 1.349 GB, free: 1.344 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.172, allocations: 4 kB / 1.349 GB, free: 1.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001278/1.173, allocations: 331.8 kB / 1.349 GB, free: 1.016 MB / 1.076 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.002094/1.175, allocations: 0.6087 MB / 1.349 GB, free: 416 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006728/1.176, allocations: 351.5 kB / 1.35 GB, free: 64 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.176, allocations: 0 / 1.35 GB, free: 64 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.176, allocations: 161 kB / 1.35 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/1.181, allocations: 0.9167 MB / 1.351 GB, free: 15.02 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/1.186, allocations: 2.105 MB / 1.353 GB, free: 12.8 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.188, allocations: 1.208 MB / 1.354 GB, free: 11.56 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001344/1.189, allocations: 298.7 kB / 1.354 GB, free: 11.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/1.189, allocations: 87.42 kB / 1.354 GB, free: 11.18 MB / 1.092 GB Notification: Performance of SimCode: time 1.613e-06/1.189, allocations: 0 / 1.354 GB, free: 11.18 MB / 1.092 GB Notification: Performance of Templates: time 0.05091/1.24, allocations: 30.97 MB / 1.385 GB, free: 12.58 MB / 1.123 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