Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001368/0.001368, allocations: 99.31 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.001545/0.001545, 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7274, allocations: 142.3 MB / 0.9535 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2146/0.942, allocations: 200.8 MB / 1.15 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.9659, allocations: 17.74 MB / 1.167 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.969, allocations: 75.31 kB / 1.167 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.9728, allocations: 0.9679 MB / 1.168 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0075/0.9804, allocations: 2.313 MB / 1.17 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007783/0.9882, allocations: 2.691 MB / 1.173 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00467/0.9929, allocations: 2.185 MB / 1.175 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.9945, allocations: 0.9467 MB / 1.176 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.9969, allocations: 1.09 MB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008623/0.9978, allocations: 0.6649 MB / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.9979, allocations: 48 kB / 1.178 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006408/1.004, allocations: 2.64 MB / 1.18 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007024/1.005, allocations: 0.5531 MB / 1.181 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/1.006, allocations: 420.7 kB / 1.181 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006417/1.013, allocations: 2.779 MB / 1.184 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.013, allocations: 0 / 1.184 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.635e-06/1.013, allocations: 4 kB / 1.184 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.2e-05/1.013, allocations: 0 / 1.184 GB, free: 3.629 MB / 0.9356 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.003061/1.016, allocations: 1.914 MB / 1.186 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.016, allocations: 8.031 kB / 1.186 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/1.018, allocations: 497 kB / 1.186 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/1.02, allocations: 1.194 MB / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/1.02, allocations: 102.4 kB / 1.188 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/1.02, allocations: 124 kB / 1.188 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/1.022, allocations: 1.692 MB / 1.189 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/1.022, allocations: 7.938 kB / 1.189 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.023, allocations: 55.98 kB / 1.189 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-05/1.023, allocations: 63.98 kB / 1.189 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/1.024, allocations: 1.217 MB / 1.191 GB, free: 12.52 MB / 0.9512 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.007018/1.031, allocations: 7.557 MB / 1.198 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/1.032, allocations: 0.6663 MB / 1.199 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.033, allocations: 1.516 MB / 1.2 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.033, allocations: 50.5 kB / 1.2 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=72): time 2.765e-06/1.033, allocations: 0 / 1.2 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72): time 0.002293/1.036, allocations: 1.387 MB / 1.202 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.036, allocations: 298.7 kB / 1.202 GB, free: 156 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/1.038, allocations: 1.869 MB / 1.204 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/1.038, allocations: 41.7 kB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/1.039, allocations: 0.7291 MB / 1.204 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.039, allocations: 248.5 kB / 1.205 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/1.039, allocations: 8 kB / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.039, allocations: 337.9 kB / 1.205 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/1.04, allocations: 325.1 kB / 1.205 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/1.04, allocations: 0.5586 MB / 1.206 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/1.041, allocations: 404.2 kB / 1.206 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.041, allocations: 0 / 1.206 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001349/1.042, allocations: 1.007 MB / 1.207 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.042, allocations: 8 kB / 1.207 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.042, allocations: 4 kB / 1.207 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.042, allocations: 8 kB / 1.207 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/1.043, allocations: 124.3 kB / 1.207 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.043, allocations: 11.94 kB / 1.207 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/1.043, allocations: 138.5 kB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/1.044, allocations: 51.92 kB / 1.208 GB, free: 10.2 MB / 0.9669 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.0006692/1.044, allocations: 458.9 kB / 1.208 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/1.045, allocations: 189.6 kB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/1.046, allocations: 1.076 MB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.046, allocations: 15.98 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/1.046, allocations: 288 / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.046, allocations: 7.984 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.057, allocations: 8.658 MB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.057, allocations: 16.94 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/1.057, allocations: 147.7 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/1.057, allocations: 24 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/1.057, allocations: 43.98 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/1.057, allocations: 31.86 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/1.057, allocations: 19.94 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/1.06, allocations: 2.816 MB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/1.061, allocations: 418.3 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.061, allocations: 35.98 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/1.062, allocations: 39.84 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.062, allocations: 107.6 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/1.062, allocations: 51.98 kB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001735/1.064, allocations: 1.3 MB / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001815/1.065, allocations: 0.5152 MB / 1.223 GB, free: 8.914 MB / 0.9825 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.00197/1.067, allocations: 0.7632 MB / 1.224 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001222/1.069, allocations: 0.8092 MB / 1.225 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.069, allocations: 4 kB / 1.225 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/1.069, allocations: 477.6 kB / 1.225 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005948/1.075, allocations: 1.265 MB / 1.226 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/1.08, allocations: 3.561 MB / 1.23 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.081, allocations: 1.437 MB / 1.231 GB, free: 380 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001637/1.082, allocations: 482.7 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/1.083, allocations: 119.4 kB / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.083, allocations: 0 / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.6237/1.706, allocations: 42 MB / 1.273 GB, free: 269.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches