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.007908/0.007908, allocations: 101 kB / 15.88 MB, free: 5.863 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.001655/0.001655, allocations: 191 kB / 16.79 MB, free: 5.805 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.7 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 1.027/1.361, allocations: 252.1 MB / 1.299 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02833/1.389, allocations: 20.77 MB / 1.319 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/1.394, allocations: 84.03 kB / 1.319 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/1.396, allocations: 0.6563 MB / 1.32 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008178/1.404, allocations: 2.73 MB / 1.323 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007147/1.412, allocations: 2.5 MB / 1.325 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007348/1.419, allocations: 5.074 MB / 1.33 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/1.421, allocations: 1.066 MB / 1.331 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/1.424, allocations: 1.254 MB / 1.332 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/1.426, allocations: 1.05 MB / 1.333 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/1.426, allocations: 55.31 kB / 1.333 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009779/1.436, allocations: 5.055 MB / 1.338 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009288/1.437, allocations: 0.6054 MB / 1.339 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.439, allocations: 0.9053 MB / 1.34 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/1.445, allocations: 3.257 MB / 1.343 GB, free: 204 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.445, allocations: 4 kB / 1.343 GB, free: 200 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.445, allocations: 0 / 1.343 GB, free: 200 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.823e-05/1.445, allocations: 0 / 1.343 GB, free: 200 kB / 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.003778/1.449, allocations: 2.3 MB / 1.345 GB, free: 15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.449, allocations: 12.44 kB / 1.345 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/1.451, allocations: 483.5 kB / 1.346 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/1.453, allocations: 1.255 MB / 1.347 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/1.453, allocations: 98.12 kB / 1.347 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.453, allocations: 123.3 kB / 1.347 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/1.456, allocations: 1.726 MB / 1.349 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.456, allocations: 12.5 kB / 1.349 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.456, allocations: 54.94 kB / 1.349 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/1.456, allocations: 64.09 kB / 1.349 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.458, allocations: 1.216 MB / 1.35 GB, free: 14.05 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.008809/1.466, allocations: 7.564 MB / 1.357 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.468, allocations: 0.6605 MB / 1.358 GB, free: 9.242 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/1.468, allocations: 0.6261 MB / 1.359 GB, free: 9.156 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/1.47, allocations: 1.867 MB / 1.361 GB, free: 7.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/1.47, allocations: 56.27 kB / 1.361 GB, free: 7.047 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.456e-06/1.47, allocations: 0 / 1.361 GB, free: 7.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002418/1.473, allocations: 1.399 MB / 1.362 GB, free: 6.902 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.473, allocations: 296.2 kB / 1.362 GB, free: 6.559 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.475, allocations: 1.886 MB / 1.364 GB, free: 6.348 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.475, allocations: 40.7 kB / 1.364 GB, free: 6.316 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/1.476, allocations: 0.7308 MB / 1.365 GB, free: 6.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/1.476, allocations: 241.8 kB / 1.365 GB, free: 6.027 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.476, allocations: 141.4 kB / 1.365 GB, free: 6.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.476, allocations: 327.5 kB / 1.366 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/1.476, allocations: 325 kB / 1.366 GB, free: 5.695 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/1.477, allocations: 0.5672 MB / 1.366 GB, free: 5.566 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.478, allocations: 0.8568 MB / 1.367 GB, free: 5.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.478, allocations: 2.094 kB / 1.367 GB, free: 5.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001896/1.48, allocations: 1.012 MB / 1.368 GB, free: 5.285 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.48, allocations: 9.562 kB / 1.368 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.48, allocations: 8.75 kB / 1.368 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.48, allocations: 6.5 kB / 1.368 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/1.481, allocations: 121.5 kB / 1.368 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.481, allocations: 10.83 kB / 1.368 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.482, allocations: 134.4 kB / 1.368 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/1.482, allocations: 48.02 kB / 1.369 GB, free: 5.172 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008127/1.483, allocations: 455 kB / 1.369 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/1.483, allocations: 191.4 kB / 1.369 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/1.485, allocations: 1.088 MB / 1.37 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.485, allocations: 10.5 kB / 1.37 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.485, allocations: 2.75 kB / 1.37 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.485, allocations: 8.578 kB / 1.37 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.497, allocations: 8.939 MB / 1.379 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.474e-05/1.497, allocations: 15.66 kB / 1.379 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/1.498, allocations: 142.5 kB / 1.379 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.498, allocations: 21.06 kB / 1.379 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/1.498, allocations: 39.16 kB / 1.379 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/1.498, allocations: 31.64 kB / 1.379 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/1.498, allocations: 22.97 kB / 1.379 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/1.5, allocations: 1.675 MB / 1.381 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/1.501, allocations: 416.5 kB / 1.381 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006005/1.502, allocations: 32.86 kB / 1.381 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.503, allocations: 46.16 kB / 1.381 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.503, allocations: 109.9 kB / 1.381 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/1.503, allocations: 57.8 kB / 1.382 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001748/1.505, allocations: 1.316 MB / 1.383 GB, free: 11.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.505, allocations: 3.938 kB / 1.383 GB, free: 11.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002274/1.507, allocations: 0.525 MB / 1.383 GB, free: 11.47 MB / 1.029 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.002703/1.51, allocations: 0.9614 MB / 1.384 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001476/1.511, allocations: 0.8128 MB / 1.385 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.511, allocations: 2.812 kB / 1.385 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/1.512, allocations: 489.6 kB / 1.386 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/1.518, allocations: 1.264 MB / 1.387 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/1.522, allocations: 3.812 MB / 1.39 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.523, allocations: 1.401 MB / 1.392 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.524, allocations: 127.2 kB / 1.392 GB, free: 6.098 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.524, allocations: 2.625 kB / 1.392 GB, free: 6.098 MB / 1.029 GB Notification: Performance of Templates: time 0.05832/1.582, allocations: 35.21 MB / 1.426 GB, free: 4.328 MB / 1.061 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches