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.001106/0.001106, allocations: 100 kB / 15.05 MB, free: 1.105 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.001301/0.001301, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.598/2.598, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5766, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1782/0.7548, allocations: 171.4 MB / 1.188 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.769, allocations: 10.57 MB / 1.199 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.7705, allocations: 43.62 kB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.7729, allocations: 0.6142 MB / 1.199 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.7781, allocations: 1.453 MB / 1.201 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.783, allocations: 1.666 MB / 1.202 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.7855, allocations: 1.348 MB / 1.204 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.7871, allocations: 0.9043 MB / 1.204 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.7884, allocations: 0.6111 MB / 1.205 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.7891, allocations: 446 kB / 1.205 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.7893, allocations: 36 kB / 1.205 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.7931, allocations: 1.681 MB / 1.207 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.7936, allocations: 458.8 kB / 1.208 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.7939, allocations: 301 kB / 1.208 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.7964, allocations: 2.081 MB / 1.21 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7964, allocations: 0 / 1.21 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7964, allocations: 0 / 1.21 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.271e-05/0.7965, allocations: 0 / 1.21 GB, free: 15.05 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.002102/0.7986, allocations: 1.437 MB / 1.211 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7986, allocations: 11.98 kB / 1.211 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.8003, allocations: 373.8 kB / 1.212 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.8017, allocations: 0.8573 MB / 1.212 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/0.8017, allocations: 77.97 kB / 1.213 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.8019, allocations: 100 kB / 1.213 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.8039, allocations: 1.493 MB / 1.214 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.8039, allocations: 0 / 1.214 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.804, allocations: 52 kB / 1.214 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.248e-05/0.8041, allocations: 61.53 kB / 1.214 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.8054, allocations: 1.001 MB / 1.215 GB, free: 9.383 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.005788/0.8112, allocations: 5.809 MB / 1.221 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.8118, allocations: 318.4 kB / 1.221 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.8121, allocations: 368.6 kB / 1.222 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.8121, allocations: 42.5 kB / 1.222 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.8122, allocations: 4 kB / 1.222 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001233/0.8134, allocations: 0.6676 MB / 1.222 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.8135, allocations: 140.5 kB / 1.222 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.8154, allocations: 1.642 MB / 1.224 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.8154, allocations: 33.7 kB / 1.224 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.8159, allocations: 0.5542 MB / 1.225 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.8159, allocations: 94.56 kB / 1.225 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.816, allocations: 8 kB / 1.225 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.8161, allocations: 318 kB / 1.225 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.8163, allocations: 155.9 kB / 1.225 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.8166, allocations: 294.1 kB / 1.225 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.8168, allocations: 199.8 kB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8168, allocations: 4 kB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007195/0.8176, allocations: 0.5549 MB / 1.226 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.8176, allocations: 9.562 kB / 1.226 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8176, allocations: 4 kB / 1.226 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8176, allocations: 4 kB / 1.226 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.8179, allocations: 59.91 kB / 1.226 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8179, allocations: 7.953 kB / 1.226 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.8184, allocations: 118.7 kB / 1.226 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.8185, allocations: 24 kB / 1.226 GB, free: 13.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004383/0.8189, allocations: 373.5 kB / 1.227 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.8191, allocations: 138.2 kB / 1.227 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.8197, allocations: 384.6 kB / 1.227 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8197, allocations: 0 / 1.227 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8197, allocations: 4.094 kB / 1.227 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.8197, allocations: 11.92 kB / 1.227 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.8229, allocations: 2.493 MB / 1.23 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8229, allocations: 7.984 kB / 1.23 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.8231, allocations: 47.92 kB / 1.23 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.8231, allocations: 8 kB / 1.23 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.8232, allocations: 15.95 kB / 1.23 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.8232, allocations: 11.94 kB / 1.23 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.8232, allocations: 8 kB / 1.23 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.8241, allocations: 0.9997 MB / 1.231 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.8246, allocations: 295.3 kB / 1.231 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.8248, allocations: 19.98 kB / 1.231 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.8251, allocations: 20 kB / 1.231 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.8252, allocations: 39.86 kB / 1.231 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.8252, allocations: 16 kB / 1.231 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001397/0.8266, allocations: 1.179 MB / 1.232 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8267, allocations: 0 / 1.232 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009934/0.8277, allocations: 323.7 kB / 1.233 GB, free: 6.602 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.829, allocations: 0.4967 MB / 1.233 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.8295, allocations: 347.9 kB / 1.233 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8295, allocations: 0 / 1.233 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.8297, allocations: 169.2 kB / 1.234 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.8335, allocations: 0.8416 MB / 1.234 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.8364, allocations: 2.281 MB / 1.237 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/0.8372, allocations: 1.228 MB / 1.238 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009413/0.8381, allocations: 294.5 kB / 1.238 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.8383, allocations: 87.42 kB / 1.238 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of SimCode: time 6.32e-07/0.8383, allocations: 0 / 1.238 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of Templates: time 0.4934/1.332, allocations: 28.33 MB / 1.266 GB, free: 222.6 MB / 0.9981 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","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches