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.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.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.0008345/0.0008343, allocations: 98.41 kB / 16.02 MB, free: 76 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.000883/0.000883, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.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.454/2.454, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004157, allocations: 11.94 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.792, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2467/1.039, allocations: 209.6 MB / 1.16 GB, free: 12.99 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.058, allocations: 12.13 MB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/1.06, allocations: 47.56 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.062, allocations: 401.4 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005695/1.068, allocations: 1.762 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/1.073, allocations: 1.734 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004161/1.077, allocations: 3.065 MB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/1.079, allocations: 0.9913 MB / 1.18 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/1.081, allocations: 0.6882 MB / 1.181 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/1.082, allocations: 0.6612 MB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/1.083, allocations: 36 kB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007082/1.09, allocations: 3.514 MB / 1.185 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007226/1.09, allocations: 486.6 kB / 1.185 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.092, allocations: 0.6701 MB / 1.186 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/1.096, allocations: 2.412 MB / 1.188 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.096, allocations: 0 / 1.188 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.575e-06/1.096, allocations: 0 / 1.188 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.096, allocations: 0 / 1.188 GB, free: 320 kB / 0.9356 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.002296/1.098, allocations: 1.433 MB / 1.19 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.098, allocations: 11.97 kB / 1.19 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/1.1, allocations: 373.8 kB / 1.19 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.101, allocations: 0.8956 MB / 1.191 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/1.101, allocations: 74.03 kB / 1.191 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.101, allocations: 100 kB / 1.191 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/1.103, allocations: 1.513 MB / 1.193 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.103, allocations: 3.938 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/1.103, allocations: 44 kB / 1.193 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.668e-05/1.104, allocations: 65.48 kB / 1.193 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/1.105, allocations: 1.017 MB / 1.194 GB, free: 10.58 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.006099/1.111, allocations: 5.887 MB / 1.199 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/1.112, allocations: 322.2 kB / 1.2 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/1.112, allocations: 247.4 kB / 1.2 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/1.113, allocations: 0.7081 MB / 1.201 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.113, allocations: 42.48 kB / 1.201 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 3.888e-06/1.113, allocations: 0 / 1.201 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001316/1.114, allocations: 0.6753 MB / 1.201 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/1.114, allocations: 136.5 kB / 1.202 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.116, allocations: 1.654 MB / 1.203 GB, free: 368 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/1.116, allocations: 29.7 kB / 1.203 GB, free: 332 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/1.117, allocations: 0.5502 MB / 1.204 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/1.117, allocations: 94.56 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/1.117, allocations: 29.7 kB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.117, allocations: 333.9 kB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/1.117, allocations: 159.9 kB / 1.204 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/1.118, allocations: 290.1 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/1.118, allocations: 434.5 kB / 1.205 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.118, allocations: 0 / 1.205 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007824/1.119, allocations: 0.5581 MB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.119, allocations: 9.344 kB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.119, allocations: 4 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.119, allocations: 4 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.119, allocations: 60.16 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.119, allocations: 8.062 kB / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/1.12, allocations: 122.4 kB / 1.206 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/1.12, allocations: 20 kB / 1.206 GB, free: 13.59 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.0004723/1.12, allocations: 377.5 kB / 1.206 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.121, allocations: 138.3 kB / 1.206 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/1.121, allocations: 389.2 kB / 1.207 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.121, allocations: 4 kB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.121, allocations: 0 / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.121, allocations: 0 / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/1.125, allocations: 2.563 MB / 1.209 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.125, allocations: 4 kB / 1.209 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.125, allocations: 52.73 kB / 1.209 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/1.125, allocations: 8 kB / 1.209 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.125, allocations: 19.92 kB / 1.209 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/1.125, allocations: 11.94 kB / 1.209 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.125, allocations: 8.078 kB / 1.209 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/1.126, allocations: 0.6201 MB / 1.21 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.126, allocations: 311.1 kB / 1.21 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.126, allocations: 12.09 kB / 1.21 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/1.127, allocations: 23.92 kB / 1.21 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.127, allocations: 35.84 kB / 1.21 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/1.127, allocations: 16 kB / 1.21 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001504/1.128, allocations: 1.207 MB / 1.211 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.128, allocations: 0 / 1.211 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001129/1.129, allocations: 343.7 kB / 1.212 GB, free: 7.148 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.001695/1.131, allocations: 0.6264 MB / 1.212 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000577/1.132, allocations: 343.5 kB / 1.213 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.132, allocations: 4 kB / 1.213 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/1.132, allocations: 157.5 kB / 1.213 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/1.137, allocations: 0.8714 MB / 1.214 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/1.14, allocations: 2.486 MB / 1.216 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/1.141, allocations: 1.197 MB / 1.217 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.141, allocations: 83.44 kB / 1.217 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/1.141, allocations: 0 / 1.217 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.03722/1.178, allocations: 24.53 MB / 1.241 GB, free: 8.922 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/jenkins1/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