Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001309/0.001309, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001325/0.001325, allocations: 187.6 kB / 17.2 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 64.31 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3074, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.8447/1.152, allocations: 214.1 MB / 1.227 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01743/1.17, allocations: 12.18 MB / 1.239 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/1.172, allocations: 43.69 kB / 1.239 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/1.174, allocations: 0.5119 MB / 1.239 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005694/1.179, allocations: 1.871 MB / 1.241 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/1.185, allocations: 1.897 MB / 1.243 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003396/1.188, allocations: 2.344 MB / 1.245 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/1.19, allocations: 1.227 MB / 1.247 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/1.192, allocations: 0.8249 MB / 1.247 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/1.193, allocations: 0.6535 MB / 1.248 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/1.193, allocations: 88 kB / 1.248 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006574/1.2, allocations: 2.848 MB / 1.251 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007075/1.201, allocations: 0.5454 MB / 1.251 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/1.202, allocations: 0.7347 MB / 1.252 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00631/1.208, allocations: 3.136 MB / 1.255 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.208, allocations: 7.938 kB / 1.255 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.956e-06/1.208, allocations: 0 / 1.255 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.948e-05/1.208, allocations: 0 / 1.255 GB, free: 6.438 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.002861/1.211, allocations: 1.74 MB / 1.257 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.211, allocations: 12.62 kB / 1.257 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/1.213, allocations: 377.8 kB / 1.257 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.214, allocations: 0.8916 MB / 1.258 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/1.214, allocations: 86.06 kB / 1.258 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/1.215, allocations: 100 kB / 1.258 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/1.217, allocations: 1.529 MB / 1.26 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.217, allocations: 7.875 kB / 1.26 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/1.217, allocations: 48 kB / 1.26 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.111e-05/1.217, allocations: 61.47 kB / 1.26 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/1.218, allocations: 1.025 MB / 1.261 GB, free: 368 kB / 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.006147/1.224, allocations: 5.963 MB / 1.267 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/1.225, allocations: 323.8 kB / 1.267 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/1.225, allocations: 247.4 kB / 1.267 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/1.226, allocations: 0.712 MB / 1.268 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.226, allocations: 38.5 kB / 1.268 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 2.455e-06/1.226, allocations: 3.938 kB / 1.268 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001266/1.227, allocations: 0.6599 MB / 1.269 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.227, allocations: 144.4 kB / 1.269 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.229, allocations: 1.686 MB / 1.27 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.229, allocations: 33.7 kB / 1.271 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/1.23, allocations: 0.5544 MB / 1.271 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/1.23, allocations: 90.66 kB / 1.271 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.23, allocations: 65.69 kB / 1.271 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/1.23, allocations: 322 kB / 1.272 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/1.23, allocations: 155.9 kB / 1.272 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/1.231, allocations: 265.5 kB / 1.272 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/1.231, allocations: 416.2 kB / 1.272 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/1.231, allocations: 0 / 1.272 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007035/1.232, allocations: 0.5508 MB / 1.273 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.232, allocations: 8 kB / 1.273 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.232, allocations: 4.062 kB / 1.273 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.232, allocations: 8 kB / 1.273 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/1.232, allocations: 47.92 kB / 1.273 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.232, allocations: 12.12 kB / 1.273 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/1.233, allocations: 110.4 kB / 1.273 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/1.233, allocations: 20.19 kB / 1.273 GB, free: 3.312 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.0004179/1.233, allocations: 386.7 kB / 1.273 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/1.233, allocations: 134.3 kB / 1.274 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/1.234, allocations: 385.1 kB / 1.274 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.234, allocations: 7.938 kB / 1.274 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.234, allocations: 0 / 1.274 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.234, allocations: 11.94 kB / 1.274 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/1.237, allocations: 2.604 MB / 1.276 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.237, allocations: 11.94 kB / 1.276 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/1.237, allocations: 52 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/1.237, allocations: 8 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.238, allocations: 15.94 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/1.238, allocations: 8 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.238, allocations: 11.94 kB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/1.238, allocations: 0.6284 MB / 1.277 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/1.239, allocations: 291.2 kB / 1.277 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/1.239, allocations: 23.86 kB / 1.277 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/1.239, allocations: 12 kB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/1.239, allocations: 31.86 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/1.239, allocations: 23.98 kB / 1.278 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001562/1.241, allocations: 1.219 MB / 1.279 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/1.241, allocations: 0 / 1.279 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001011/1.242, allocations: 343.8 kB / 1.279 GB, free: 12.82 MB / 0.9825 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.001553/1.243, allocations: 0.6206 MB / 1.28 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000525/1.244, allocations: 359.4 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.244, allocations: 4 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/1.244, allocations: 153.5 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/1.248, allocations: 0.9316 MB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/1.25, allocations: 2.205 MB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/1.251, allocations: 1.201 MB / 1.284 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/1.251, allocations: 83.44 kB / 1.284 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/1.251, allocations: 0 / 1.284 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of Templates: time 0.03426/1.286, allocations: 24.83 MB / 1.309 GB, free: 14.52 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches