Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008327/0.008327, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001929/0.001929, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 472.6 MB / 0.7453 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3435, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 1.101/1.445, allocations: 214.1 MB / 1.435 GB, free: 6.715 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0327/1.478, allocations: 12.16 MB / 1.447 GB, free: 12.07 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/1.48, allocations: 43.69 kB / 1.447 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/1.483, allocations: 0.508 MB / 1.447 GB, free: 11.51 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009165/1.492, allocations: 1.878 MB / 1.449 GB, free: 9.625 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.008203/1.5, allocations: 1.899 MB / 1.451 GB, free: 7.734 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005261/1.505, allocations: 2.375 MB / 1.453 GB, free: 5.352 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/1.508, allocations: 1.204 MB / 1.454 GB, free: 4.137 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/1.511, allocations: 0.8288 MB / 1.455 GB, free: 3.305 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/1.513, allocations: 0.6573 MB / 1.456 GB, free: 2.645 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004471/1.514, allocations: 92 kB / 1.456 GB, free: 2.555 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/1.525, allocations: 2.696 MB / 1.458 GB, free: 15.85 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/1.526, allocations: 0.5337 MB / 1.459 GB, free: 15.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/1.529, allocations: 0.7347 MB / 1.46 GB, free: 14.58 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/1.54, allocations: 3.092 MB / 1.463 GB, free: 11.48 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.54, allocations: 0 / 1.463 GB, free: 11.48 MB / 1.154 GB Notification: Performance of FrontEnd: time 5.501e-06/1.54, allocations: 0 / 1.463 GB, free: 11.48 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.498e-05/1.54, allocations: 7.938 kB / 1.463 GB, free: 11.47 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.006664/1.547, allocations: 1.777 MB / 1.464 GB, free: 9.633 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/1.547, allocations: 11.97 kB / 1.464 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/1.55, allocations: 382.7 kB / 1.465 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/1.554, allocations: 0.9628 MB / 1.466 GB, free: 8.242 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/1.554, allocations: 78.03 kB / 1.466 GB, free: 8.164 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/1.554, allocations: 100 kB / 1.466 GB, free: 8.066 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/1.559, allocations: 1.513 MB / 1.467 GB, free: 6.441 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/1.559, allocations: 4 kB / 1.467 GB, free: 6.438 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/1.559, allocations: 44 kB / 1.467 GB, free: 6.395 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/1.559, allocations: 69.41 kB / 1.468 GB, free: 6.328 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/1.562, allocations: 1.017 MB / 1.469 GB, free: 5.309 MB / 1.154 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.01211/1.574, allocations: 5.826 MB / 1.474 GB, free: 15.17 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/1.575, allocations: 318.3 kB / 1.475 GB, free: 14.83 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/1.576, allocations: 252 kB / 1.475 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.577, allocations: 0.7077 MB / 1.475 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/1.577, allocations: 46.48 kB / 1.475 GB, free: 13.66 MB / 1.17 GB Notification: Performance of pre-optimization done (n=28): time 4.559e-06/1.577, allocations: 4 kB / 1.475 GB, free: 13.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=28): time 0.002656/1.58, allocations: 0.6767 MB / 1.476 GB, free: 12.97 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.58, allocations: 128.5 kB / 1.476 GB, free: 12.82 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/1.584, allocations: 1.658 MB / 1.478 GB, free: 11.15 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.584, allocations: 29.7 kB / 1.478 GB, free: 11.11 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008657/1.585, allocations: 0.5544 MB / 1.478 GB, free: 10.55 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/1.585, allocations: 99.16 kB / 1.479 GB, free: 10.46 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.586, allocations: 69.69 kB / 1.479 GB, free: 10.38 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.586, allocations: 321.9 kB / 1.479 GB, free: 10.06 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.586, allocations: 163.9 kB / 1.479 GB, free: 9.902 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/1.587, allocations: 286.1 kB / 1.479 GB, free: 9.586 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/1.588, allocations: 432.7 kB / 1.48 GB, free: 9.129 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.588, allocations: 3.938 kB / 1.48 GB, free: 9.125 MB / 1.17 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001629/1.59, allocations: 0.5707 MB / 1.48 GB, free: 8.547 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.59, allocations: 8 kB / 1.48 GB, free: 8.539 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.59, allocations: 4 kB / 1.48 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.59, allocations: 4 kB / 1.48 GB, free: 8.531 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/1.59, allocations: 55.91 kB / 1.48 GB, free: 8.477 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/1.59, allocations: 9.109 kB / 1.48 GB, free: 8.469 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.591, allocations: 114.9 kB / 1.481 GB, free: 8.355 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/1.591, allocations: 23.98 kB / 1.481 GB, free: 8.332 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0009565/1.592, allocations: 388.7 kB / 1.481 GB, free: 7.945 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.593, allocations: 139.1 kB / 1.481 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.594, allocations: 388.1 kB / 1.481 GB, free: 7.41 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.594, allocations: 7.938 kB / 1.481 GB, free: 7.402 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.594, allocations: 0 / 1.481 GB, free: 7.402 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/1.594, allocations: 0 / 1.481 GB, free: 7.402 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/1.6, allocations: 2.517 MB / 1.484 GB, free: 4.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.6, allocations: 8 kB / 1.484 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/1.6, allocations: 48.08 kB / 1.484 GB, free: 4.648 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/1.6, allocations: 15.98 kB / 1.484 GB, free: 4.633 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/1.6, allocations: 15.94 kB / 1.484 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/1.6, allocations: 12.48 kB / 1.484 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.6, allocations: 8 kB / 1.484 GB, free: 4.598 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.602, allocations: 0.623 MB / 1.485 GB, free: 3.875 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/1.602, allocations: 300 kB / 1.485 GB, free: 3.562 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/1.603, allocations: 15.94 kB / 1.485 GB, free: 3.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/1.603, allocations: 12 kB / 1.485 GB, free: 3.535 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.603, allocations: 39.84 kB / 1.485 GB, free: 3.496 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/1.603, allocations: 12 kB / 1.485 GB, free: 3.484 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002766/1.606, allocations: 1.211 MB / 1.486 GB, free: 2.277 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.2e-07/1.606, allocations: 0 / 1.486 GB, free: 2.277 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001843/1.608, allocations: 331.4 kB / 1.486 GB, free: 1.953 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002554/1.611, allocations: 0.6172 MB / 1.487 GB, free: 1.34 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.612, allocations: 359.5 kB / 1.487 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/1.612, allocations: 0 / 1.487 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/1.612, allocations: 157.2 kB / 1.488 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/1.619, allocations: 0.9237 MB / 1.488 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/1.624, allocations: 2.115 MB / 1.491 GB, free: 13.71 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.625, allocations: 1.197 MB / 1.492 GB, free: 12.48 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001561/1.627, allocations: 306.6 kB / 1.492 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/1.627, allocations: 83.42 kB / 1.492 GB, free: 12.1 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/1.627, allocations: 0 / 1.492 GB, free: 12.1 MB / 1.186 GB Notification: Performance of Templates: time 0.08347/1.711, allocations: 30.88 MB / 1.522 GB, free: 13.5 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches