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.001117/0.001121, allocations: 100.2 kB / 16.35 MB, free: 5.828 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.001356/0.001356, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 442.5 MB / 0.7165 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 62.3 kB / 0.8773 GB, free: 42.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3324, allocations: 153 MB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2272/0.5596, allocations: 214.1 MB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.5757, allocations: 12.18 MB / 1.248 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.578, allocations: 43.69 kB / 1.248 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.5796, allocations: 0.4963 MB / 1.248 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.5852, allocations: 1.886 MB / 1.25 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.5897, allocations: 1.902 MB / 1.252 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7311/1.321, allocations: 2.369 MB / 1.254 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/1.323, allocations: 1.198 MB / 1.255 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/1.326, allocations: 0.8275 MB / 1.256 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/1.328, allocations: 0.6569 MB / 1.257 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004904/1.328, allocations: 89.31 kB / 1.257 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007535/1.336, allocations: 2.697 MB / 1.26 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/1.337, allocations: 0.5375 MB / 1.26 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002525/1.339, allocations: 0.7262 MB / 1.261 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007796/1.347, allocations: 3.086 MB / 1.264 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.347, allocations: 5.109 kB / 1.264 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.347, allocations: 0.875 kB / 1.264 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001215/1.347, allocations: 0 / 1.264 GB, free: 4.043 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.005226/1.353, allocations: 1.729 MB / 1.265 GB, free: 19.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.353, allocations: 10.56 kB / 1.265 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/1.355, allocations: 371.2 kB / 1.266 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/1.358, allocations: 0.9612 MB / 1.267 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.358, allocations: 80 kB / 1.267 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/1.358, allocations: 97.94 kB / 1.267 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/1.361, allocations: 1.509 MB / 1.268 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/1.361, allocations: 7.922 kB / 1.268 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/1.361, allocations: 45.23 kB / 1.268 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-05/1.361, allocations: 59.27 kB / 1.269 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.363, allocations: 1.02 MB / 1.27 GB, free: 18.46 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.007506/1.37, allocations: 5.807 MB / 1.275 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/1.371, allocations: 320.9 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/1.371, allocations: 250.7 kB / 1.276 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/1.372, allocations: 0.7105 MB / 1.276 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/1.372, allocations: 46.19 kB / 1.276 GB, free: 14.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/1.372, allocations: 0.875 kB / 1.276 GB, free: 14.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001482/1.374, allocations: 0.6694 MB / 1.277 GB, free: 14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/1.374, allocations: 132.8 kB / 1.277 GB, free: 13.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.376, allocations: 1.656 MB / 1.279 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/1.376, allocations: 34.45 kB / 1.279 GB, free: 13.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.376, allocations: 0.5492 MB / 1.279 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/1.376, allocations: 100.3 kB / 1.28 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.376, allocations: 72.33 kB / 1.28 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.377, allocations: 317.5 kB / 1.28 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/1.377, allocations: 159.7 kB / 1.28 GB, free: 13.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/1.377, allocations: 295.4 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/1.378, allocations: 436.6 kB / 1.281 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.378, allocations: 1.156 kB / 1.281 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008606/1.379, allocations: 0.5612 MB / 1.281 GB, free: 12.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.379, allocations: 7.922 kB / 1.281 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.379, allocations: 7.391 kB / 1.281 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.379, allocations: 6.312 kB / 1.281 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/1.379, allocations: 57.2 kB / 1.281 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.379, allocations: 6.766 kB / 1.281 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/1.38, allocations: 105.3 kB / 1.281 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.38, allocations: 31.73 kB / 1.282 GB, free: 12.77 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.0004873/1.38, allocations: 381.1 kB / 1.282 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/1.38, allocations: 141.1 kB / 1.282 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/1.381, allocations: 387.3 kB / 1.282 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.381, allocations: 2.594 kB / 1.282 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.381, allocations: 2.312 kB / 1.282 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.381, allocations: 4.859 kB / 1.282 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/1.385, allocations: 2.511 MB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.385, allocations: 6.031 kB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/1.385, allocations: 51.86 kB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.385, allocations: 6.75 kB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.385, allocations: 12.44 kB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.385, allocations: 11.66 kB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/1.385, allocations: 10 kB / 1.285 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/1.386, allocations: 0.6207 MB / 1.286 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/1.386, allocations: 286.7 kB / 1.286 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/1.386, allocations: 25.34 kB / 1.286 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/1.387, allocations: 9.938 kB / 1.286 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/1.387, allocations: 41.66 kB / 1.286 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/1.387, allocations: 15.12 kB / 1.286 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001339/1.388, allocations: 1.208 MB / 1.287 GB, free: 10.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.388, allocations: 1.062 kB / 1.287 GB, free: 10.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001336/1.39, allocations: 327.3 kB / 1.287 GB, free: 10.87 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.001522/1.391, allocations: 0.6085 MB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006185/1.392, allocations: 360.5 kB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.392, allocations: 2.531 kB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/1.392, allocations: 156 kB / 1.289 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/1.395, allocations: 0.9218 MB / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/1.398, allocations: 2.075 MB / 1.291 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.399, allocations: 1.203 MB / 1.293 GB, free: 8.992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009461/1.4, allocations: 301.6 kB / 1.293 GB, free: 8.953 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.4, allocations: 79.53 kB / 1.293 GB, free: 8.945 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/1.4, allocations: 0 / 1.293 GB, free: 8.945 MB / 1.014 GB Notification: Performance of Templates: time 0.05015/1.45, allocations: 30.73 MB / 1.323 GB, free: 3.973 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 -s gbode -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