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.0008042/0.0008041, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005795/0.005796, allocations: 170.1 kB / 16.27 MB, free: 6.328 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.73/2.73, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003727, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6822, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2305/0.9127, allocations: 209.6 MB / 1.228 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.9304, allocations: 12.14 MB / 1.24 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.9324, allocations: 43.62 kB / 1.24 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.9339, allocations: 401.3 kB / 1.24 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.6993/1.633, allocations: 1.757 MB / 1.242 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/1.639, allocations: 1.734 MB / 1.243 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005696/1.645, allocations: 3.046 MB / 1.246 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/1.648, allocations: 1.021 MB / 1.247 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/1.65, allocations: 0.6816 MB / 1.248 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/1.652, allocations: 0.6578 MB / 1.249 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/1.653, allocations: 39.47 kB / 1.249 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009772/1.662, allocations: 3.512 MB / 1.252 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/1.664, allocations: 491.1 kB / 1.253 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002458/1.666, allocations: 0.6768 MB / 1.253 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007875/1.674, allocations: 3.32 MB / 1.257 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.674, allocations: 0 / 1.257 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/1.674, allocations: 1.219 kB / 1.257 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.091e-05/1.674, allocations: 0 / 1.257 GB, free: 2.688 MB / 0.9825 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.003896/1.678, allocations: 1.446 MB / 1.258 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.678, allocations: 9.625 kB / 1.258 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/1.68, allocations: 377.6 kB / 1.258 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.682, allocations: 0.8946 MB / 1.259 GB, free: 17.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/1.682, allocations: 81.7 kB / 1.259 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/1.682, allocations: 101 kB / 1.259 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.684, allocations: 1.527 MB / 1.261 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.684, allocations: 8 kB / 1.261 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/1.684, allocations: 55.08 kB / 1.261 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.143e-05/1.685, allocations: 58.52 kB / 1.261 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/1.686, allocations: 1.018 MB / 1.262 GB, free: 17.07 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.006218/1.692, allocations: 5.909 MB / 1.268 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/1.693, allocations: 322.8 kB / 1.268 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/1.693, allocations: 255.9 kB / 1.268 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/1.694, allocations: 0.7111 MB / 1.269 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.694, allocations: 38.95 kB / 1.269 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/1.694, allocations: 4 kB / 1.269 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001296/1.695, allocations: 0.6707 MB / 1.27 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/1.695, allocations: 131.3 kB / 1.27 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/1.698, allocations: 1.679 MB / 1.271 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/1.698, allocations: 36.12 kB / 1.271 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/1.698, allocations: 0.5611 MB / 1.272 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/1.698, allocations: 96.17 kB / 1.272 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/1.698, allocations: 28.84 kB / 1.272 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/1.699, allocations: 320.7 kB / 1.272 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/1.699, allocations: 155.8 kB / 1.273 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/1.699, allocations: 273 kB / 1.273 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/1.699, allocations: 418.3 kB / 1.273 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.699, allocations: 2.812 kB / 1.273 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006683/1.7, allocations: 0.5353 MB / 1.274 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.7, allocations: 6.969 kB / 1.274 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.7, allocations: 2.812 kB / 1.274 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.7, allocations: 6.578 kB / 1.274 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/1.7, allocations: 47.73 kB / 1.274 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.7, allocations: 6.703 kB / 1.274 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/1.701, allocations: 121.7 kB / 1.274 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.701, allocations: 22.64 kB / 1.274 GB, free: 11.36 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.0004753/1.702, allocations: 386.6 kB / 1.274 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.702, allocations: 140.8 kB / 1.274 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/1.702, allocations: 383.8 kB / 1.275 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.702, allocations: 3.156 kB / 1.275 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.702, allocations: 0 / 1.275 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.702, allocations: 3.281 kB / 1.275 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/1.705, allocations: 2.569 MB / 1.277 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.705, allocations: 5.312 kB / 1.277 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/1.706, allocations: 50.09 kB / 1.277 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.706, allocations: 9.844 kB / 1.277 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.706, allocations: 15.52 kB / 1.277 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.706, allocations: 17.09 kB / 1.277 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.706, allocations: 9.562 kB / 1.277 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/1.706, allocations: 0.6158 MB / 1.278 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/1.707, allocations: 304.6 kB / 1.278 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/1.707, allocations: 23.44 kB / 1.278 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/1.707, allocations: 18.97 kB / 1.278 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/1.707, allocations: 40.14 kB / 1.278 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/1.707, allocations: 21.22 kB / 1.278 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001315/1.709, allocations: 1.222 MB / 1.28 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.709, allocations: 0 / 1.28 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001683/1.71, allocations: 335.7 kB / 1.28 GB, free: 9.41 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.002383/1.713, allocations: 0.6253 MB / 1.281 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006797/1.713, allocations: 341.5 kB / 1.281 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.713, allocations: 0 / 1.281 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/1.714, allocations: 160.4 kB / 1.281 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007742/1.721, allocations: 0.8765 MB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/1.727, allocations: 2.442 MB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.728, allocations: 1.209 MB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001651/1.73, allocations: 300.4 kB / 1.286 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/1.73, allocations: 83.58 kB / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.73, allocations: 0 / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.06388/1.794, allocations: 29.12 MB / 1.314 GB, free: 14.96 MB / 1.014 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=480 -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