Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004983/0.004983, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001165/0.001165, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.88 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9816/1.298, allocations: 253.3 MB / 1.414 GB, free: 2.223 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02827/1.326, allocations: 20.59 MB / 1.434 GB, free: 1.445 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/1.33, allocations: 73 kB / 1.434 GB, free: 1.41 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002882/1.333, allocations: 0.8363 MB / 1.435 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008536/1.342, allocations: 3.046 MB / 1.438 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006981/1.349, allocations: 2.792 MB / 1.441 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005502/1.354, allocations: 3.828 MB / 1.444 GB, free: 7.973 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/1.356, allocations: 1.313 MB / 1.446 GB, free: 6.633 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/1.36, allocations: 1.445 MB / 1.447 GB, free: 5.188 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/1.362, allocations: 0.9993 MB / 1.448 GB, free: 4.184 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004212/1.362, allocations: 108 kB / 1.448 GB, free: 4.078 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009064/1.371, allocations: 3.958 MB / 1.452 GB, free: 112 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009475/1.372, allocations: 0.6465 MB / 1.453 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/1.374, allocations: 0.9795 MB / 1.454 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008545/1.382, allocations: 4.166 MB / 1.458 GB, free: 10.3 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.382, allocations: 0 / 1.458 GB, free: 10.3 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.054e-06/1.383, allocations: 0 / 1.458 GB, free: 10.3 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001002/1.383, allocations: 0 / 1.458 GB, free: 10.3 MB / 1.123 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.00458/1.387, allocations: 2.354 MB / 1.46 GB, free: 7.883 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.387, allocations: 12.03 kB / 1.46 GB, free: 7.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/1.39, allocations: 494.2 kB / 1.46 GB, free: 7.387 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/1.392, allocations: 1.401 MB / 1.462 GB, free: 5.934 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/1.392, allocations: 94.44 kB / 1.462 GB, free: 5.84 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/1.393, allocations: 124 kB / 1.462 GB, free: 5.719 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/1.395, allocations: 1.712 MB / 1.464 GB, free: 3.867 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/1.395, allocations: 7.938 kB / 1.464 GB, free: 3.859 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.395, allocations: 56 kB / 1.464 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.447e-05/1.395, allocations: 63.97 kB / 1.464 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/1.397, allocations: 1.221 MB / 1.465 GB, free: 2.52 MB / 1.123 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.007788/1.405, allocations: 7.543 MB / 1.472 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000908/1.406, allocations: 0.6695 MB / 1.473 GB, free: 9.824 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/1.407, allocations: 0.6196 MB / 1.474 GB, free: 9.176 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/1.408, allocations: 1.871 MB / 1.476 GB, free: 6.898 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.408, allocations: 54.48 kB / 1.476 GB, free: 6.836 MB / 1.139 GB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/1.409, allocations: 0 / 1.476 GB, free: 6.836 MB / 1.139 GB Notification: Performance of matching and sorting (n=72): time 0.002408/1.411, allocations: 1.394 MB / 1.477 GB, free: 5.438 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/1.411, allocations: 306.7 kB / 1.477 GB, free: 5.07 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/1.414, allocations: 1.884 MB / 1.479 GB, free: 3.148 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/1.414, allocations: 41.7 kB / 1.479 GB, free: 3.102 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/1.415, allocations: 0.7332 MB / 1.48 GB, free: 2.363 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/1.415, allocations: 261.7 kB / 1.48 GB, free: 2.105 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.415, allocations: 134.3 kB / 1.48 GB, free: 1.969 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.415, allocations: 333.9 kB / 1.481 GB, free: 1.637 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/1.416, allocations: 337 kB / 1.481 GB, free: 1.305 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007503/1.416, allocations: 0.5547 MB / 1.481 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.418, allocations: 0.8685 MB / 1.482 GB, free: 15.79 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.418, allocations: 0 / 1.482 GB, free: 15.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001688/1.419, allocations: 1.012 MB / 1.483 GB, free: 14.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.419, allocations: 9.406 kB / 1.483 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.419, allocations: 4 kB / 1.483 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.419, allocations: 8 kB / 1.483 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/1.42, allocations: 120.3 kB / 1.483 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/1.42, allocations: 12 kB / 1.483 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/1.421, allocations: 142.9 kB / 1.483 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.421, allocations: 43.98 kB / 1.484 GB, free: 14.43 MB / 1.154 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007336/1.422, allocations: 461.5 kB / 1.484 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/1.422, allocations: 198.7 kB / 1.484 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/1.424, allocations: 1.083 MB / 1.485 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.424, allocations: 8 kB / 1.485 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.424, allocations: 8 kB / 1.485 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.424, allocations: 11.92 kB / 1.485 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.437, allocations: 8.758 MB / 1.494 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.437, allocations: 16.12 kB / 1.494 GB, free: 3.383 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/1.437, allocations: 151.9 kB / 1.494 GB, free: 3.234 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/1.437, allocations: 20 kB / 1.494 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/1.437, allocations: 36 kB / 1.494 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.662e-05/1.437, allocations: 35.8 kB / 1.494 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/1.437, allocations: 23.88 kB / 1.494 GB, free: 3.121 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/1.44, allocations: 1.677 MB / 1.496 GB, free: 1.223 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.441, allocations: 423.5 kB / 1.496 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/1.441, allocations: 43.92 kB / 1.496 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.442, allocations: 20 kB / 1.496 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.443, allocations: 103.6 kB / 1.496 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.443, allocations: 55.98 kB / 1.496 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002558/1.445, allocations: 1.324 MB / 1.498 GB, free: 15.23 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.445, allocations: 0 / 1.498 GB, free: 15.23 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002257/1.447, allocations: 0.5184 MB / 1.498 GB, free: 14.71 MB / 1.17 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 (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.00253/1.45, allocations: 0.9323 MB / 1.499 GB, free: 13.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001477/1.452, allocations: 0.8568 MB / 1.5 GB, free: 12.92 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.452, allocations: 0 / 1.5 GB, free: 12.92 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/1.452, allocations: 487.3 kB / 1.5 GB, free: 12.45 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006096/1.458, allocations: 1.34 MB / 1.502 GB, free: 11.14 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/1.463, allocations: 3.277 MB / 1.505 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.465, allocations: 1.402 MB / 1.506 GB, free: 6.188 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001629/1.467, allocations: 490.6 kB / 1.507 GB, free: 5.703 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.467, allocations: 119.4 kB / 1.507 GB, free: 5.586 MB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/1.467, allocations: 0 / 1.507 GB, free: 5.586 MB / 1.17 GB Notification: Performance of Templates: time 0.06549/1.533, allocations: 42.76 MB / 1.549 GB, free: 11.32 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches