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.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.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.001562/0.001562, allocations: 112.6 kB / 16.37 MB, free: 6 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.001205/0.001205, allocations: 196 kB / 17.31 MB, free: 5.613 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 66.14 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2851, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.7881/1.073, allocations: 214.1 MB / 1.16 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01573/1.089, allocations: 12.16 MB / 1.172 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/1.092, allocations: 47.47 kB / 1.172 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/1.093, allocations: 0.5117 MB / 1.173 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006387/1.1, allocations: 1.875 MB / 1.174 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005665/1.106, allocations: 1.906 MB / 1.176 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004223/1.11, allocations: 2.358 MB / 1.179 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/1.112, allocations: 1.231 MB / 1.18 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/1.114, allocations: 0.8269 MB / 1.181 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009904/1.115, allocations: 0.6609 MB / 1.181 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/1.115, allocations: 91.5 kB / 1.181 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006755/1.122, allocations: 2.696 MB / 1.184 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006926/1.122, allocations: 0.5442 MB / 1.184 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.124, allocations: 0.7392 MB / 1.185 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007423/1.131, allocations: 3.106 MB / 1.188 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.131, allocations: 0 / 1.188 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.695e-06/1.131, allocations: 3.219 kB / 1.188 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.324e-05/1.131, allocations: 0 / 1.188 GB, free: 8.914 MB / 0.8731 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.003294/1.134, allocations: 1.74 MB / 1.19 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.134, allocations: 14.3 kB / 1.19 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.136, allocations: 382 kB / 1.19 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/1.138, allocations: 0.9536 MB / 1.191 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/1.138, allocations: 83.36 kB / 1.191 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.139, allocations: 100.3 kB / 1.191 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/1.141, allocations: 1.529 MB / 1.193 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/1.141, allocations: 6.062 kB / 1.193 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.141, allocations: 51.59 kB / 1.193 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/1.141, allocations: 65.62 kB / 1.193 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.143, allocations: 1.023 MB / 1.194 GB, free: 5.098 MB / 0.8731 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.007253/1.15, allocations: 5.838 MB / 1.2 GB, free: 68 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/1.151, allocations: 325.5 kB / 1.2 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/1.151, allocations: 250.7 kB / 1.2 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009872/1.152, allocations: 0.7054 MB / 1.201 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/1.152, allocations: 43.28 kB / 1.201 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 4.138e-06/1.152, allocations: 0 / 1.201 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.001929/1.154, allocations: 0.6632 MB / 1.202 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.154, allocations: 139.6 kB / 1.202 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/1.157, allocations: 1.685 MB / 1.203 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/1.157, allocations: 37.08 kB / 1.203 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/1.158, allocations: 0.5606 MB / 1.204 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.158, allocations: 94.41 kB / 1.204 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/1.158, allocations: 58.67 kB / 1.204 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.158, allocations: 322.8 kB / 1.204 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/1.158, allocations: 154 kB / 1.205 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/1.159, allocations: 274.8 kB / 1.205 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/1.159, allocations: 408.9 kB / 1.205 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.159, allocations: 2.125 kB / 1.205 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001014/1.16, allocations: 0.5512 MB / 1.206 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.16, allocations: 7.406 kB / 1.206 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.16, allocations: 0 / 1.206 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.16, allocations: 4.906 kB / 1.206 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/1.16, allocations: 58.78 kB / 1.206 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.161, allocations: 2.406 kB / 1.206 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/1.161, allocations: 110 kB / 1.206 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.161, allocations: 25.8 kB / 1.206 GB, free: 11.62 MB / 0.8887 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.000536/1.162, allocations: 379.8 kB / 1.206 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.162, allocations: 133.1 kB / 1.207 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/1.163, allocations: 383.5 kB / 1.207 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.163, allocations: 5.188 kB / 1.207 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.163, allocations: 0 / 1.207 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.163, allocations: 6.688 kB / 1.207 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/1.166, allocations: 2.521 MB / 1.209 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.166, allocations: 11.59 kB / 1.209 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.166, allocations: 53.7 kB / 1.209 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.166, allocations: 7.562 kB / 1.209 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.166, allocations: 13.44 kB / 1.209 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/1.166, allocations: 16.3 kB / 1.209 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.166, allocations: 15.88 kB / 1.209 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/1.167, allocations: 0.6159 MB / 1.21 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/1.168, allocations: 294.8 kB / 1.21 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.168, allocations: 16.03 kB / 1.21 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/1.168, allocations: 11.16 kB / 1.21 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/1.168, allocations: 41.5 kB / 1.21 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/1.168, allocations: 16.28 kB / 1.21 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001539/1.17, allocations: 1.227 MB / 1.212 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 2.531 kB / 1.212 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00117/1.171, allocations: 320.2 kB / 1.212 GB, free: 7.582 MB / 0.8887 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.001497/1.172, allocations: 0.6057 MB / 1.213 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006229/1.173, allocations: 362.3 kB / 1.213 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.173, allocations: 2.281 kB / 1.213 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/1.173, allocations: 160.1 kB / 1.213 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/1.177, allocations: 0.9187 MB / 1.214 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/1.18, allocations: 2.099 MB / 1.216 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/1.18, allocations: 1.205 MB / 1.217 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008943/1.181, allocations: 310.5 kB / 1.217 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.182, allocations: 80.56 kB / 1.218 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/1.182, allocations: 0 / 1.218 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of Templates: time 0.05164/1.233, allocations: 30.82 MB / 1.248 GB, free: 10.33 MB / 0.92 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 -s cvode -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/jenkins1/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