Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.55 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.001628/0.001627, allocations: 177.3 kB / 15.94 MB, free: 228 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.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 0.8707 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6295, allocations: 153.7 MB / 1.021 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2007/0.8302, allocations: 200.8 MB / 1.217 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.8519, allocations: 17.75 MB / 1.234 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.8541, allocations: 75.31 kB / 1.234 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.8569, allocations: 0.9679 MB / 1.235 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.8635, allocations: 2.317 MB / 1.238 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007361/0.8709, allocations: 2.682 MB / 1.24 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004318/0.8752, allocations: 2.185 MB / 1.242 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.8768, allocations: 0.9505 MB / 1.243 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.8791, allocations: 1.101 MB / 1.244 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008759/0.88, allocations: 0.6609 MB / 1.245 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.8801, allocations: 48 kB / 1.245 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006243/0.8864, allocations: 2.636 MB / 1.248 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006667/0.8871, allocations: 0.5492 MB / 1.248 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.8877, allocations: 420.7 kB / 1.249 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.8927, allocations: 2.794 MB / 1.251 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8927, allocations: 0 / 1.251 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8927, allocations: 0 / 1.251 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.8928, allocations: 3.938 kB / 1.251 GB, free: 4.664 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002812/0.8956, allocations: 1.906 MB / 1.253 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8956, allocations: 11.98 kB / 1.253 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.8976, allocations: 493 kB / 1.254 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.8998, allocations: 1.198 MB / 1.255 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.8999, allocations: 94.44 kB / 1.255 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.9, allocations: 128 kB / 1.255 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5653/1.465, allocations: 1.694 MB / 1.257 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/1.465, allocations: 5.312 kB / 1.257 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/1.466, allocations: 52.17 kB / 1.257 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/1.466, allocations: 65.56 kB / 1.257 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/1.468, allocations: 1.216 MB / 1.258 GB, free: 16.24 MB / 0.9981 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.007803/1.476, allocations: 7.563 MB / 1.265 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/1.477, allocations: 0.6564 MB / 1.266 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009082/1.477, allocations: 1.519 MB / 1.267 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.478, allocations: 56.56 kB / 1.267 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.855e-06/1.478, allocations: 0 / 1.267 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.00274/1.48, allocations: 1.388 MB / 1.269 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/1.48, allocations: 295.3 kB / 1.269 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.483, allocations: 1.876 MB / 1.271 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/1.483, allocations: 38.83 kB / 1.271 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.485, allocations: 0.7286 MB / 1.272 GB, free: 25.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/1.485, allocations: 242.6 kB / 1.272 GB, free: 24.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/1.485, allocations: 13.81 kB / 1.272 GB, free: 24.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.485, allocations: 330 kB / 1.272 GB, free: 24.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/1.486, allocations: 327.3 kB / 1.273 GB, free: 24.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009031/1.486, allocations: 0.5589 MB / 1.273 GB, free: 24.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/1.487, allocations: 402 kB / 1.273 GB, free: 24.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.487, allocations: 1.188 kB / 1.274 GB, free: 24.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001724/1.489, allocations: 1.005 MB / 1.274 GB, free: 24.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.489, allocations: 10.77 kB / 1.274 GB, free: 24.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.489, allocations: 2.969 kB / 1.274 GB, free: 24.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/1.489, allocations: 7.656 kB / 1.275 GB, free: 24.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/1.49, allocations: 126 kB / 1.275 GB, free: 24.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/1.49, allocations: 14.91 kB / 1.275 GB, free: 24.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.491, allocations: 132.5 kB / 1.275 GB, free: 24.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.491, allocations: 42.5 kB / 1.275 GB, free: 24.19 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0007171/1.491, allocations: 463.1 kB / 1.275 GB, free: 24.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/1.492, allocations: 191.9 kB / 1.275 GB, free: 23.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/1.493, allocations: 1.08 MB / 1.276 GB, free: 23.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.494, allocations: 11.86 kB / 1.276 GB, free: 23.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.494, allocations: 7.375 kB / 1.277 GB, free: 23.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.494, allocations: 6.281 kB / 1.277 GB, free: 23.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/1.505, allocations: 8.662 MB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.505, allocations: 14.56 kB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/1.505, allocations: 144.9 kB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.482e-05/1.505, allocations: 21.09 kB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/1.505, allocations: 40.53 kB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-05/1.505, allocations: 32.69 kB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/1.505, allocations: 22.94 kB / 1.285 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/1.507, allocations: 2.812 MB / 1.288 GB, free: 18.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007936/1.508, allocations: 413.2 kB / 1.288 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.508, allocations: 37.91 kB / 1.288 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/1.509, allocations: 46.8 kB / 1.288 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.509, allocations: 103 kB / 1.289 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/1.509, allocations: 58.02 kB / 1.289 GB, free: 18.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001707/1.511, allocations: 1.3 MB / 1.29 GB, free: 18.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.51e-07/1.511, allocations: 3.234 kB / 1.29 GB, free: 18.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001698/1.513, allocations: 0.5173 MB / 1.29 GB, free: 18.21 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0022/1.515, allocations: 0.7525 MB / 1.291 GB, free: 18.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001568/1.516, allocations: 0.8144 MB / 1.292 GB, free: 18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.516, allocations: 2.656 kB / 1.292 GB, free: 18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006068/1.517, allocations: 484.9 kB / 1.292 GB, free: 18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/1.523, allocations: 1.252 MB / 1.294 GB, free: 17.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/1.528, allocations: 3.564 MB / 1.297 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/1.529, allocations: 1.446 MB / 1.298 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001623/1.53, allocations: 488.7 kB / 1.299 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.531, allocations: 115.5 kB / 1.299 GB, free: 15.16 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.531, allocations: 4 kB / 1.299 GB, free: 15.15 MB / 1.014 GB Notification: Performance of Templates: time 0.06187/1.592, allocations: 42.01 MB / 1.34 GB, free: 2.914 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches