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.001489/0.001489, allocations: 104 kB / 16.35 MB, free: 5.824 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.00161/0.00161, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 62.12 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.296, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.8175/1.113, allocations: 214.1 MB / 1.236 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01639/1.13, allocations: 12.17 MB / 1.248 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/1.133, allocations: 39.69 kB / 1.248 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/1.136, allocations: 0.508 MB / 1.248 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/1.142, allocations: 1.878 MB / 1.25 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004873/1.147, allocations: 1.904 MB / 1.252 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003585/1.151, allocations: 2.375 MB / 1.254 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/1.152, allocations: 1.193 MB / 1.255 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/1.154, allocations: 0.8405 MB / 1.256 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009696/1.155, allocations: 0.6534 MB / 1.257 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/1.155, allocations: 92 kB / 1.257 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/1.161, allocations: 2.696 MB / 1.26 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006104/1.161, allocations: 0.5415 MB / 1.26 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009045/1.162, allocations: 0.7309 MB / 1.261 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005134/1.167, allocations: 3.081 MB / 1.264 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.168, allocations: 0 / 1.264 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/1.168, allocations: 0 / 1.264 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.876e-05/1.168, allocations: 0 / 1.264 GB, free: 10.61 MB / 0.9669 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.002958/1.171, allocations: 1.73 MB / 1.265 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.078e-05/1.171, allocations: 12.03 kB / 1.265 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.173, allocations: 373.8 kB / 1.266 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/1.175, allocations: 0.958 MB / 1.267 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/1.175, allocations: 74.03 kB / 1.267 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/1.175, allocations: 100 kB / 1.267 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/1.178, allocations: 1.513 MB / 1.268 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/1.178, allocations: 7.938 kB / 1.268 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.178, allocations: 44 kB / 1.268 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.178, allocations: 65.47 kB / 1.269 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/1.18, allocations: 1.013 MB / 1.27 GB, free: 4.52 MB / 0.9669 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.01044/1.191, allocations: 5.809 MB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/1.192, allocations: 317.6 kB / 1.276 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/1.192, allocations: 251.7 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.193, allocations: 0.7194 MB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/1.193, allocations: 42.56 kB / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 3.727e-06/1.193, allocations: 0 / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.002218/1.196, allocations: 0.6608 MB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.196, allocations: 132.6 kB / 1.277 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/1.199, allocations: 1.669 MB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/1.199, allocations: 33.7 kB / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/1.2, allocations: 0.5424 MB / 1.279 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.2, allocations: 94.64 kB / 1.28 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.2, allocations: 73.59 kB / 1.28 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002684/1.201, allocations: 325.8 kB / 1.28 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/1.201, allocations: 159.9 kB / 1.28 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/1.201, allocations: 298.1 kB / 1.28 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/1.202, allocations: 431.7 kB / 1.281 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.202, allocations: 0 / 1.281 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001359/1.204, allocations: 0.5659 MB / 1.281 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.204, allocations: 7.938 kB / 1.281 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.204, allocations: 4 kB / 1.281 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/1.204, allocations: 4 kB / 1.281 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/1.204, allocations: 59.86 kB / 1.281 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.204, allocations: 7.984 kB / 1.281 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/1.205, allocations: 106.8 kB / 1.282 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/1.205, allocations: 23.98 kB / 1.282 GB, free: 7.562 MB / 0.9825 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.000888/1.206, allocations: 381.5 kB / 1.282 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/1.206, allocations: 138.2 kB / 1.282 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008871/1.207, allocations: 376.7 kB / 1.282 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.207, allocations: 4 kB / 1.282 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.207, allocations: 3.984 kB / 1.282 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.207, allocations: 8 kB / 1.282 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/1.213, allocations: 2.505 MB / 1.285 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.214, allocations: 4 kB / 1.285 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/1.214, allocations: 56.8 kB / 1.285 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/1.214, allocations: 8 kB / 1.285 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/1.214, allocations: 15.94 kB / 1.285 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.283e-05/1.214, allocations: 15.92 kB / 1.285 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/1.214, allocations: 11.94 kB / 1.285 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/1.215, allocations: 0.6087 MB / 1.286 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/1.216, allocations: 303.1 kB / 1.286 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/1.217, allocations: 15.94 kB / 1.286 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/1.217, allocations: 12 kB / 1.286 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.218, allocations: 43.72 kB / 1.286 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/1.218, allocations: 16 kB / 1.286 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003028/1.221, allocations: 1.203 MB / 1.287 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.01e-07/1.221, allocations: 0 / 1.287 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002083/1.223, allocations: 331.8 kB / 1.287 GB, free: 1.211 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.002823/1.226, allocations: 0.615 MB / 1.288 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.227, allocations: 363.5 kB / 1.288 GB, free: 248 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.227, allocations: 4 kB / 1.288 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/1.227, allocations: 157.7 kB / 1.289 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008151/1.235, allocations: 0.9198 MB / 1.289 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/1.242, allocations: 2.075 MB / 1.291 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/1.244, allocations: 1.197 MB / 1.293 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001938/1.246, allocations: 294.7 kB / 1.293 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/1.247, allocations: 79.44 kB / 1.293 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.733e-06/1.247, allocations: 0 / 1.293 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.09607/1.343, allocations: 30.75 MB / 1.323 GB, free: 12.97 MB / 1.029 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 -s cvode -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/jenkins1/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