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.001154/0.001154, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.371/2.371, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 71.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7273, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2764/1.004, allocations: 252.1 MB / 1.196 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0272/1.031, allocations: 20.76 MB / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/1.034, allocations: 83.31 kB / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/1.037, allocations: 0.6559 MB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00769/1.045, allocations: 2.723 MB / 1.219 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007225/1.052, allocations: 2.513 MB / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006534/1.058, allocations: 5.071 MB / 1.227 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/1.061, allocations: 1.066 MB / 1.228 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/1.064, allocations: 1.251 MB / 1.229 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/1.066, allocations: 1.054 MB / 1.23 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003809/1.066, allocations: 52 kB / 1.23 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.077, allocations: 5.065 MB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/1.078, allocations: 0.5996 MB / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002266/1.081, allocations: 0.9053 MB / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006133/1.087, allocations: 3.263 MB / 1.24 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/1.087, allocations: 0 / 1.24 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/1.087, allocations: 8 kB / 1.24 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001204/1.087, allocations: 0 / 1.24 GB, free: 7.938 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.005481/1.092, allocations: 2.288 MB / 1.242 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.093, allocations: 12.03 kB / 1.242 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/1.095, allocations: 485 kB / 1.243 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/1.098, allocations: 1.259 MB / 1.244 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/1.098, allocations: 98.44 kB / 1.244 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/1.098, allocations: 116 kB / 1.244 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/1.101, allocations: 1.719 MB / 1.246 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/1.101, allocations: 4 kB / 1.246 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.101, allocations: 48 kB / 1.246 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.653e-05/1.101, allocations: 79.78 kB / 1.246 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.103, allocations: 1.229 MB / 1.247 GB, free: 376 kB / 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.5656/1.669, allocations: 7.557 MB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/1.67, allocations: 0.6609 MB / 1.255 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008774/1.671, allocations: 0.6191 MB / 1.256 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.673, allocations: 1.866 MB / 1.257 GB, free: 279 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.673, allocations: 49.23 kB / 1.257 GB, free: 279 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/1.673, allocations: 0.7188 kB / 1.257 GB, free: 279 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002836/1.675, allocations: 1.395 MB / 1.259 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/1.676, allocations: 299.6 kB / 1.259 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/1.678, allocations: 1.886 MB / 1.261 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.679, allocations: 42.48 kB / 1.261 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/1.679, allocations: 0.7299 MB / 1.262 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.679, allocations: 242.1 kB / 1.262 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/1.68, allocations: 133 kB / 1.262 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/1.68, allocations: 334.6 kB / 1.262 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/1.68, allocations: 330.5 kB / 1.263 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/1.681, allocations: 0.5636 MB / 1.263 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.682, allocations: 0.8572 MB / 1.264 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.682, allocations: 1.188 kB / 1.264 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002064/1.684, allocations: 1.012 MB / 1.265 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.684, allocations: 7.094 kB / 1.265 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.684, allocations: 11.03 kB / 1.265 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/1.684, allocations: 7.438 kB / 1.265 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/1.685, allocations: 119.6 kB / 1.265 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/1.685, allocations: 7.625 kB / 1.265 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.686, allocations: 139.6 kB / 1.265 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/1.686, allocations: 42.23 kB / 1.265 GB, free: 274.7 MB / 0.9981 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.000741/1.687, allocations: 463.2 kB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/1.687, allocations: 185.8 kB / 1.266 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/1.689, allocations: 1.098 MB / 1.267 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.689, allocations: 14.69 kB / 1.267 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.689, allocations: 6.25 kB / 1.267 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.689, allocations: 6.391 kB / 1.267 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.7, allocations: 8.93 MB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.701, allocations: 17.56 kB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/1.701, allocations: 140.8 kB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.588e-05/1.701, allocations: 19.91 kB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/1.701, allocations: 41.77 kB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.081e-05/1.701, allocations: 31.8 kB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-05/1.701, allocations: 25.16 kB / 1.276 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.703, allocations: 1.666 MB / 1.278 GB, free: 266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/1.704, allocations: 417 kB / 1.278 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/1.704, allocations: 41.95 kB / 1.278 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/1.705, allocations: 46.23 kB / 1.278 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.705, allocations: 110.8 kB / 1.278 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-05/1.705, allocations: 53.69 kB / 1.278 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001805/1.707, allocations: 1.319 MB / 1.28 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.707, allocations: 0 / 1.28 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002039/1.709, allocations: 0.5312 MB / 1.28 GB, free: 264.8 MB / 0.9981 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.002597/1.711, allocations: 0.939 MB / 1.281 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.713, allocations: 0.8206 MB / 1.282 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.713, allocations: 2.188 kB / 1.282 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/1.714, allocations: 488.7 kB / 1.282 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/1.719, allocations: 1.268 MB / 1.284 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/1.724, allocations: 3.823 MB / 1.287 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/1.725, allocations: 1.397 MB / 1.289 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/1.725, allocations: 126 kB / 1.289 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.663e-06/1.725, allocations: 0 / 1.289 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04532/1.77, allocations: 35.23 MB / 1.323 GB, free: 227.8 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches