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 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.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.001073/0.001073, allocations: 109.8 kB / 16.41 MB, free: 6.504 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.001034/0.001034, allocations: 187.9 kB / 17.35 MB, free: 5.758 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6547, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2052/0.8599, allocations: 214.1 MB / 1.417 GB, free: 6.805 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.8744, allocations: 12.15 MB / 1.429 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.8755, allocations: 43.69 kB / 1.429 GB, free: 10.58 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.8767, allocations: 0.508 MB / 1.43 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.8811, allocations: 1.88 MB / 1.431 GB, free: 8.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.8854, allocations: 1.907 MB / 1.433 GB, free: 6.277 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.8885, allocations: 2.375 MB / 1.436 GB, free: 3.895 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.8908, allocations: 1.205 MB / 1.437 GB, free: 2.664 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.8925, allocations: 0.8288 MB / 1.438 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.8936, allocations: 0.6534 MB / 1.438 GB, free: 1.176 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.8938, allocations: 88 kB / 1.438 GB, free: 1.09 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005183/0.899, allocations: 2.692 MB / 1.441 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.8995, allocations: 0.5493 MB / 1.442 GB, free: 13.84 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000901/0.9004, allocations: 0.7231 MB / 1.442 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.9046, allocations: 3.085 MB / 1.445 GB, free: 10.02 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9046, allocations: 4 kB / 1.445 GB, free: 10.02 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9047, allocations: 0 / 1.445 GB, free: 10.02 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.432e-05/0.9047, allocations: 4 kB / 1.445 GB, free: 10.01 MB / 1.17 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.00251/0.9072, allocations: 1.725 MB / 1.447 GB, free: 8.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.9073, allocations: 12.03 kB / 1.447 GB, free: 8.219 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.9089, allocations: 369.8 kB / 1.447 GB, free: 7.855 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.9104, allocations: 0.958 MB / 1.448 GB, free: 6.852 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.9104, allocations: 74.03 kB / 1.448 GB, free: 6.777 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.9106, allocations: 100 kB / 1.448 GB, free: 6.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.9126, allocations: 1.522 MB / 1.45 GB, free: 5.047 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.9127, allocations: 7.938 kB / 1.45 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.9128, allocations: 48 kB / 1.45 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/0.9128, allocations: 61.48 kB / 1.45 GB, free: 4.934 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.9143, allocations: 1.009 MB / 1.451 GB, free: 3.926 MB / 1.17 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.005808/0.9201, allocations: 5.816 MB / 1.457 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.9207, allocations: 318.3 kB / 1.457 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.921, allocations: 251.5 kB / 1.457 GB, free: 13.19 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.9216, allocations: 0.7078 MB / 1.458 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.9217, allocations: 42.56 kB / 1.458 GB, free: 12.28 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.9217, allocations: 0 / 1.458 GB, free: 12.28 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001222/0.9229, allocations: 0.6713 MB / 1.459 GB, free: 11.6 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.923, allocations: 132.5 kB / 1.459 GB, free: 11.44 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.9251, allocations: 1.662 MB / 1.46 GB, free: 9.766 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.9252, allocations: 33.7 kB / 1.46 GB, free: 9.727 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.9257, allocations: 0.5463 MB / 1.461 GB, free: 9.176 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.9257, allocations: 94.64 kB / 1.461 GB, free: 9.082 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9259, allocations: 73.59 kB / 1.461 GB, free: 9.004 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.926, allocations: 321.9 kB / 1.461 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.9262, allocations: 163.9 kB / 1.462 GB, free: 8.523 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.9265, allocations: 294.1 kB / 1.462 GB, free: 8.199 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.927, allocations: 426 kB / 1.462 GB, free: 7.746 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.927, allocations: 8 kB / 1.462 GB, free: 7.738 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007392/0.9277, allocations: 0.5658 MB / 1.463 GB, free: 7.164 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9278, allocations: 4 kB / 1.463 GB, free: 7.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9278, allocations: 4 kB / 1.463 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9278, allocations: 4 kB / 1.463 GB, free: 7.152 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.928, allocations: 55.92 kB / 1.463 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.9281, allocations: 12.7 kB / 1.463 GB, free: 7.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.9285, allocations: 106.5 kB / 1.463 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.9286, allocations: 28.25 kB / 1.463 GB, free: 6.953 MB / 1.186 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.0004281/0.929, allocations: 381.5 kB / 1.463 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.9293, allocations: 134.3 kB / 1.464 GB, free: 6.438 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.9298, allocations: 377.1 kB / 1.464 GB, free: 6.047 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.9299, allocations: 3.984 kB / 1.464 GB, free: 6.043 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9299, allocations: 7.938 kB / 1.464 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.9303, allocations: 283.2 kB / 1.464 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.9304, allocations: 8 kB / 1.464 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.9308, allocations: 7.938 kB / 1.464 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.9309, allocations: 11.98 kB / 1.464 GB, free: 5.711 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005355/0.9314, allocations: 0.5539 MB / 1.465 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006899/0.9321, allocations: 0.7617 MB / 1.465 GB, free: 4.363 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002/0.9323, allocations: 140.2 kB / 1.466 GB, free: 4.227 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001812/0.9341, allocations: 1.195 MB / 1.467 GB, free: 3.035 MB / 1.186 GB Notification: Performance of Backend: time 1.125e-05/0.9342, allocations: 0 / 1.467 GB, free: 3.035 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003816/0.938, allocations: 1.08 MB / 1.468 GB, free: 1.965 MB / 1.186 GB Notification: Performance of SimCode: time 0.005826/0.9438, allocations: 3.181 MB / 1.471 GB, free: 14.75 MB / 1.201 GB Notification: Performance of Templates: time 0.05206/0.9959, allocations: 35.76 MB / 1.506 GB, free: 11.29 MB / 1.232 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/jenkins1/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