Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000864/0.0008641, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004976/0.004976, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 443.3 MB / 0.7175 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003542, allocations: 12.31 kB / 0.8796 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 155.2 MB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2272/0.5498, allocations: 209.6 MB / 1.236 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.5667, allocations: 12.13 MB / 1.248 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.5694, allocations: 43.62 kB / 1.248 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.5715, allocations: 405.3 kB / 1.248 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.578, allocations: 1.77 MB / 1.25 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005598/0.5837, allocations: 1.725 MB / 1.252 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6468/1.23, allocations: 3.067 MB / 1.254 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/1.232, allocations: 0.9855 MB / 1.255 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/1.233, allocations: 0.693 MB / 1.256 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/1.234, allocations: 0.657 MB / 1.257 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/1.234, allocations: 36.47 kB / 1.257 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007615/1.242, allocations: 3.517 MB / 1.26 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008989/1.243, allocations: 488.1 kB / 1.261 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/1.244, allocations: 0.6711 MB / 1.261 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008765/1.253, allocations: 3.308 MB / 1.265 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/1.253, allocations: 2.969 kB / 1.265 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.206e-06/1.253, allocations: 0 / 1.265 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.684e-05/1.253, allocations: 0 / 1.265 GB, free: 4.098 MB / 0.9981 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.003744/1.257, allocations: 1.433 MB / 1.266 GB, free: 19.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.257, allocations: 9.438 kB / 1.266 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/1.259, allocations: 367.7 kB / 1.266 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/1.261, allocations: 0.8978 MB / 1.267 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.261, allocations: 76.03 kB / 1.267 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/1.261, allocations: 102.7 kB / 1.267 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/1.265, allocations: 1.511 MB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/1.265, allocations: 5 kB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/1.265, allocations: 54.34 kB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/1.265, allocations: 64.59 kB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.267, allocations: 1.011 MB / 1.27 GB, free: 18.56 MB / 1.014 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.007282/1.274, allocations: 5.879 MB / 1.276 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/1.274, allocations: 325.8 kB / 1.276 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/1.275, allocations: 247.9 kB / 1.276 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/1.276, allocations: 0.7059 MB / 1.277 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.276, allocations: 45.66 kB / 1.277 GB, free: 14.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.877e-06/1.276, allocations: 3.984 kB / 1.277 GB, free: 14.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001654/1.277, allocations: 0.6648 MB / 1.278 GB, free: 14.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/1.277, allocations: 133.6 kB / 1.278 GB, free: 13.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/1.28, allocations: 1.658 MB / 1.279 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/1.28, allocations: 32.33 kB / 1.279 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.281, allocations: 0.5555 MB / 1.28 GB, free: 13.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/1.281, allocations: 96.66 kB / 1.28 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/1.281, allocations: 30.78 kB / 1.28 GB, free: 13.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.281, allocations: 321.2 kB / 1.28 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.281, allocations: 163.1 kB / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/1.281, allocations: 290.2 kB / 1.281 GB, free: 13.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/1.282, allocations: 437 kB / 1.281 GB, free: 13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.282, allocations: 0 / 1.281 GB, free: 13 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009231/1.283, allocations: 0.5637 MB / 1.282 GB, free: 12.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.283, allocations: 6.219 kB / 1.282 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.283, allocations: 4.016 kB / 1.282 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.283, allocations: 6.969 kB / 1.282 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/1.283, allocations: 57.75 kB / 1.282 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.283, allocations: 12.52 kB / 1.282 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/1.284, allocations: 112.1 kB / 1.282 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/1.284, allocations: 22.28 kB / 1.282 GB, free: 12.82 MB / 1.014 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.0005091/1.285, allocations: 386.8 kB / 1.282 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/1.285, allocations: 140.3 kB / 1.283 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/1.286, allocations: 380.3 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.286, allocations: 2.812 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.286, allocations: 1.312 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.286, allocations: 3.234 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/1.289, allocations: 2.56 MB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.289, allocations: 6.25 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.289, allocations: 54.88 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.289, allocations: 7.156 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/1.289, allocations: 17.53 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/1.289, allocations: 10.25 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/1.289, allocations: 12.28 kB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/1.29, allocations: 0.6207 MB / 1.286 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1.291, allocations: 299.5 kB / 1.286 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/1.291, allocations: 13.81 kB / 1.286 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/1.291, allocations: 20.23 kB / 1.286 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/1.291, allocations: 42.62 kB / 1.286 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/1.291, allocations: 17.34 kB / 1.286 GB, free: 11.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001564/1.293, allocations: 1.204 MB / 1.288 GB, free: 10.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 0 / 1.288 GB, free: 10.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001513/1.295, allocations: 337.2 kB / 1.288 GB, free: 10.88 MB / 1.014 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.001682/1.296, allocations: 0.6261 MB / 1.289 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005644/1.297, allocations: 350 kB / 1.289 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.297, allocations: 1.469 kB / 1.289 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/1.297, allocations: 161.2 kB / 1.289 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/1.302, allocations: 0.879 MB / 1.29 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/1.305, allocations: 2.407 MB / 1.292 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/1.306, allocations: 1.207 MB / 1.293 GB, free: 8.641 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009209/1.306, allocations: 296.7 kB / 1.294 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/1.307, allocations: 84.69 kB / 1.294 GB, free: 8.574 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.307, allocations: 0 / 1.294 GB, free: 8.574 MB / 1.014 GB Notification: Performance of Templates: time 0.04585/1.352, allocations: 29.04 MB / 1.322 GB, free: 2.414 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches