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.001224/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001343/0.001342, allocations: 197 kB / 16.14 MB, free: 6.711 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.497/2.497, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.89 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7798, allocations: 140.4 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2207/1, allocations: 212.5 MB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01562/1.016, allocations: 12.28 MB / 1.168 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/1.018, allocations: 47.56 kB / 1.168 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/1.019, allocations: 409.3 kB / 1.169 GB, free: 136 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/1.024, allocations: 1.762 MB / 1.171 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004599/1.029, allocations: 1.741 MB / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003518/1.032, allocations: 3.042 MB / 1.175 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/1.034, allocations: 1.055 MB / 1.176 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/1.035, allocations: 0.7156 MB / 1.177 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/1.037, allocations: 0.7118 MB / 1.178 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/1.037, allocations: 48 kB / 1.178 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008847/1.046, allocations: 3.518 MB / 1.181 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.047, allocations: 0.5103 MB / 1.182 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002219/1.049, allocations: 0.68 MB / 1.182 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007777/1.057, allocations: 3.35 MB / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.057, allocations: 4 kB / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.685e-06/1.057, allocations: 0 / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.329e-05/1.057, allocations: 0 / 1.186 GB, free: 14.93 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.003484/1.061, allocations: 1.741 MB / 1.187 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.061, allocations: 8.031 kB / 1.187 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/1.063, allocations: 377.8 kB / 1.188 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/1.064, allocations: 0.8955 MB / 1.189 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/1.065, allocations: 78 kB / 1.189 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.065, allocations: 100 kB / 1.189 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/1.067, allocations: 1.533 MB / 1.19 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.067, allocations: 7.938 kB / 1.19 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.067, allocations: 44 kB / 1.19 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-05/1.067, allocations: 65.47 kB / 1.19 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/1.069, allocations: 1.025 MB / 1.191 GB, free: 8.859 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.006882/1.076, allocations: 5.961 MB / 1.197 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/1.076, allocations: 318.2 kB / 1.197 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/1.077, allocations: 247.4 kB / 1.198 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/1.077, allocations: 0.7039 MB / 1.198 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.078, allocations: 46.48 kB / 1.198 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/1.078, allocations: 0 / 1.198 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001426/1.079, allocations: 0.6722 MB / 1.199 GB, free: 408 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.079, allocations: 136.5 kB / 1.199 GB, free: 240 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/1.081, allocations: 1.682 MB / 1.201 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/1.081, allocations: 33.7 kB / 1.201 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/1.082, allocations: 0.5621 MB / 1.201 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/1.082, allocations: 98.64 kB / 1.201 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/1.082, allocations: 61.61 kB / 1.202 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.082, allocations: 325.9 kB / 1.202 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/1.082, allocations: 159.9 kB / 1.202 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/1.083, allocations: 264.4 kB / 1.202 GB, free: 13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/1.083, allocations: 408.4 kB / 1.203 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.083, allocations: 4 kB / 1.203 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008613/1.084, allocations: 0.5386 MB / 1.203 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.084, allocations: 9.719 kB / 1.203 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.084, allocations: 0 / 1.203 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.084, allocations: 7.984 kB / 1.203 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/1.084, allocations: 51.92 kB / 1.203 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.085, allocations: 7.938 kB / 1.203 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/1.085, allocations: 122.7 kB / 1.203 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/1.085, allocations: 16 kB / 1.203 GB, free: 11.81 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.0005143/1.086, allocations: 377.6 kB / 1.204 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/1.086, allocations: 134.3 kB / 1.204 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/1.087, allocations: 388.9 kB / 1.204 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.087, allocations: 8 kB / 1.204 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.087, allocations: 7.938 kB / 1.204 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.087, allocations: 3.984 kB / 1.204 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/1.091, allocations: 2.607 MB / 1.207 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.091, allocations: 4 kB / 1.207 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/1.091, allocations: 51.86 kB / 1.207 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.091, allocations: 11.98 kB / 1.207 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/1.091, allocations: 19.94 kB / 1.207 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.091, allocations: 8 kB / 1.207 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/1.091, allocations: 11.94 kB / 1.207 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/1.092, allocations: 0.6282 MB / 1.208 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/1.092, allocations: 287.2 kB / 1.208 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.092, allocations: 19.98 kB / 1.208 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/1.093, allocations: 19.94 kB / 1.208 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/1.093, allocations: 39.84 kB / 1.208 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.093, allocations: 16 kB / 1.208 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001676/1.095, allocations: 1.223 MB / 1.209 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.209 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001174/1.096, allocations: 339.8 kB / 1.209 GB, free: 5.316 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.001944/1.098, allocations: 0.6203 MB / 1.21 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007089/1.099, allocations: 339.7 kB / 1.21 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.099, allocations: 4 kB / 1.21 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/1.099, allocations: 164 kB / 1.21 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/1.104, allocations: 0.8669 MB / 1.211 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/1.108, allocations: 2.431 MB / 1.214 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.109, allocations: 1.216 MB / 1.215 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001231/1.111, allocations: 291.1 kB / 1.215 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.111, allocations: 83.44 kB / 1.215 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of SimCode: time 1.242e-06/1.111, allocations: 0 / 1.215 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of Templates: time 0.05027/1.161, allocations: 29.28 MB / 1.244 GB, free: 2.289 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