Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_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 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.BoundaryWithX_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_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001428/0.001428, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.569/1.569, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.832/2.832, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 71.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.632/0.6342, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2586/0.8928, allocations: 211.9 MB / 1.224 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.9105, allocations: 12.16 MB / 1.236 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.9127, allocations: 47.62 kB / 1.236 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.9144, allocations: 441.3 kB / 1.236 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.9199, allocations: 1.774 MB / 1.238 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005251/0.9252, allocations: 1.771 MB / 1.24 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.9291, allocations: 2.356 MB / 1.242 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.9309, allocations: 1.166 MB / 1.243 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.9327, allocations: 0.8405 MB / 1.244 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.9338, allocations: 0.7314 MB / 1.245 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.9339, allocations: 88 kB / 1.245 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006392/0.9403, allocations: 3.25 MB / 1.248 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007513/0.9411, allocations: 0.5493 MB / 1.248 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009631/0.9421, allocations: 0.7386 MB / 1.249 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.9487, allocations: 3.401 MB / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.9488, allocations: 0 / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9488, allocations: 0 / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.094e-05/0.9488, allocations: 0 / 1.252 GB, free: 0.6172 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.5922/1.541, allocations: 1.739 MB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.541, allocations: 9.281 kB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.543, allocations: 376.3 kB / 1.254 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/1.545, allocations: 0.8905 MB / 1.255 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/1.545, allocations: 77.12 kB / 1.255 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/1.545, allocations: 104.2 kB / 1.256 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/1.548, allocations: 1.523 MB / 1.257 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/1.548, allocations: 7.25 kB / 1.257 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.548, allocations: 56.92 kB / 1.257 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.548, allocations: 58.14 kB / 1.257 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.55, allocations: 1.025 MB / 1.258 GB, free: 234.6 MB / 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.007566/1.557, allocations: 5.957 MB / 1.264 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/1.558, allocations: 320.1 kB / 1.264 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/1.558, allocations: 250.4 kB / 1.264 GB, free: 230 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/1.559, allocations: 0.7094 MB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.559, allocations: 38.58 kB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/1.559, allocations: 0 / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.00155/1.561, allocations: 0.6672 MB / 1.266 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.561, allocations: 148.2 kB / 1.266 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/1.563, allocations: 1.687 MB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/1.563, allocations: 31.89 kB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.564, allocations: 0.5558 MB / 1.268 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/1.564, allocations: 95.05 kB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/1.564, allocations: 66.41 kB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/1.564, allocations: 320.4 kB / 1.269 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/1.564, allocations: 152.8 kB / 1.269 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/1.565, allocations: 266.2 kB / 1.269 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/1.566, allocations: 408.7 kB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.566, allocations: 0.5312 kB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008845/1.566, allocations: 0.5506 MB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.566, allocations: 7.75 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.566, allocations: 2.562 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.567, allocations: 11.69 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.567, allocations: 54.94 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.567, allocations: 5.094 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/1.567, allocations: 113.6 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/1.568, allocations: 22.86 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004391/1.568, allocations: 379.5 kB / 1.271 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/1.568, allocations: 139.4 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/1.569, allocations: 377.2 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.569, allocations: 7.844 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.569, allocations: 1.094 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.569, allocations: 11.08 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/1.572, allocations: 2.607 MB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/1.573, allocations: 5.812 kB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.573, allocations: 52.66 kB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.573, allocations: 7.938 kB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/1.573, allocations: 14.14 kB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/1.573, allocations: 20.2 kB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.573, allocations: 14.67 kB / 1.274 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/1.573, allocations: 0.6205 MB / 1.274 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/1.574, allocations: 292.5 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.574, allocations: 15.94 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.574, allocations: 23 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/1.575, allocations: 40.77 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/1.575, allocations: 14.47 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001674/1.576, allocations: 1.23 MB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.576, allocations: 4.25 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001291/1.578, allocations: 333.7 kB / 1.276 GB, free: 223.3 MB / 0.9981 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.002183/1.58, allocations: 0.6261 MB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008058/1.581, allocations: 348.1 kB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.581, allocations: 5.188 kB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/1.581, allocations: 160 kB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.585, allocations: 0.9202 MB / 1.278 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/1.589, allocations: 2.415 MB / 1.281 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/1.59, allocations: 1.221 MB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001214/1.591, allocations: 293.9 kB / 1.282 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/1.592, allocations: 80.31 kB / 1.282 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/1.592, allocations: 0 / 1.282 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04309/1.635, allocations: 30.14 MB / 1.312 GB, free: 193.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches