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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007839/0.007839, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001955/0.001955, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2681/1.309, allocations: 214.1 MB / 1.417 GB, free: 6.73 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02488/1.334, allocations: 12.15 MB / 1.429 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/1.336, allocations: 43.69 kB / 1.429 GB, free: 10.51 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001781/1.338, allocations: 0.5079 MB / 1.429 GB, free: 9.996 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007044/1.345, allocations: 1.962 MB / 1.431 GB, free: 8.027 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006964/1.352, allocations: 1.943 MB / 1.433 GB, free: 6.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005003/1.357, allocations: 2.383 MB / 1.435 GB, free: 3.699 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/1.359, allocations: 1.189 MB / 1.436 GB, free: 2.488 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/1.362, allocations: 0.8444 MB / 1.437 GB, free: 1.641 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/1.363, allocations: 0.6534 MB / 1.438 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/1.363, allocations: 88 kB / 1.438 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007862/1.371, allocations: 2.711 MB / 1.441 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007928/1.372, allocations: 0.5376 MB / 1.441 GB, free: 13.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/1.373, allocations: 0.727 MB / 1.442 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006322/1.379, allocations: 3.097 MB / 1.445 GB, free: 9.805 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.379, allocations: 0 / 1.445 GB, free: 9.805 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.134e-06/1.379, allocations: 0 / 1.445 GB, free: 9.805 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.012e-05/1.379, allocations: 0 / 1.445 GB, free: 9.805 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.003497/1.383, allocations: 1.729 MB / 1.447 GB, free: 8.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.383, allocations: 12.03 kB / 1.447 GB, free: 8.008 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/1.386, allocations: 373.8 kB / 1.447 GB, free: 7.641 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.388, allocations: 0.9541 MB / 1.448 GB, free: 6.641 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/1.388, allocations: 78.03 kB / 1.448 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.388, allocations: 100 kB / 1.448 GB, free: 6.465 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/1.391, allocations: 1.509 MB / 1.45 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/1.391, allocations: 7.938 kB / 1.45 GB, free: 4.836 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/1.392, allocations: 55.92 kB / 1.45 GB, free: 4.781 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.392, allocations: 69.47 kB / 1.45 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/1.394, allocations: 1.009 MB / 1.451 GB, free: 3.707 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.008309/1.402, allocations: 5.809 MB / 1.456 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/1.403, allocations: 322.2 kB / 1.457 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/1.404, allocations: 255.3 kB / 1.457 GB, free: 12.97 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.405, allocations: 0.712 MB / 1.458 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.405, allocations: 34.56 kB / 1.458 GB, free: 12.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 2.955e-06/1.405, allocations: 0 / 1.458 GB, free: 12.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.002006/1.407, allocations: 0.676 MB / 1.458 GB, free: 11.38 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/1.407, allocations: 136.6 kB / 1.458 GB, free: 11.22 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/1.41, allocations: 1.654 MB / 1.46 GB, free: 9.551 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/1.41, allocations: 29.7 kB / 1.46 GB, free: 9.516 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/1.411, allocations: 0.5541 MB / 1.461 GB, free: 8.957 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.411, allocations: 90.66 kB / 1.461 GB, free: 8.867 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.411, allocations: 69.61 kB / 1.461 GB, free: 8.793 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.411, allocations: 321.9 kB / 1.461 GB, free: 8.473 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/1.412, allocations: 175.8 kB / 1.461 GB, free: 8.301 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/1.412, allocations: 294.1 kB / 1.462 GB, free: 7.977 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/1.413, allocations: 422 kB / 1.462 GB, free: 7.527 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.413, allocations: 4 kB / 1.462 GB, free: 7.523 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001249/1.414, allocations: 0.5581 MB / 1.462 GB, free: 6.957 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.414, allocations: 4 kB / 1.462 GB, free: 6.953 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.414, allocations: 4 kB / 1.462 GB, free: 6.949 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.414, allocations: 4 kB / 1.462 GB, free: 6.945 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.415, allocations: 63.84 kB / 1.463 GB, free: 6.883 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.415, allocations: 4.25 kB / 1.463 GB, free: 6.879 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008427/1.416, allocations: 114.5 kB / 1.463 GB, free: 6.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/1.416, allocations: 24 kB / 1.463 GB, free: 6.742 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.0006753/1.416, allocations: 377.5 kB / 1.463 GB, free: 6.363 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/1.417, allocations: 138.3 kB / 1.463 GB, free: 6.227 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/1.417, allocations: 377 kB / 1.464 GB, free: 5.836 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.417, allocations: 8 kB / 1.464 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.417, allocations: 0 / 1.464 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.417, allocations: 0 / 1.464 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/1.422, allocations: 2.521 MB / 1.466 GB, free: 3.125 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.422, allocations: 8 kB / 1.466 GB, free: 3.117 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/1.423, allocations: 55.97 kB / 1.466 GB, free: 3.062 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.423, allocations: 4 kB / 1.466 GB, free: 3.059 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/1.423, allocations: 19.94 kB / 1.466 GB, free: 3.039 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/1.423, allocations: 11.94 kB / 1.466 GB, free: 3.027 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.423, allocations: 8 kB / 1.466 GB, free: 3.02 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/1.424, allocations: 0.6223 MB / 1.467 GB, free: 2.297 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/1.425, allocations: 287.3 kB / 1.467 GB, free: 1.996 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.425, allocations: 23.97 kB / 1.467 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/1.426, allocations: 8 kB / 1.467 GB, free: 1.965 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/1.426, allocations: 39.8 kB / 1.467 GB, free: 1.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/1.426, allocations: 19.98 kB / 1.467 GB, free: 1.906 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00225/1.428, allocations: 1.203 MB / 1.468 GB, free: 0.707 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.61e-07/1.428, allocations: 4 kB / 1.468 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001538/1.429, allocations: 327.8 kB / 1.469 GB, free: 392 kB / 1.186 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.002025/1.432, allocations: 0.6086 MB / 1.469 GB, free: 15.78 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008574/1.432, allocations: 356.4 kB / 1.469 GB, free: 15.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.432, allocations: 0 / 1.469 GB, free: 15.43 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.433, allocations: 168.8 kB / 1.47 GB, free: 15.27 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.438, allocations: 0.9179 MB / 1.471 GB, free: 14.37 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/1.442, allocations: 2.078 MB / 1.473 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.444, allocations: 1.201 MB / 1.474 GB, free: 10.95 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001255/1.445, allocations: 306.6 kB / 1.474 GB, free: 10.65 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.445, allocations: 79.44 kB / 1.474 GB, free: 10.57 MB / 1.201 GB Notification: Performance of SimCode: time 7.22e-07/1.445, allocations: 0 / 1.474 GB, free: 10.57 MB / 1.201 GB Notification: Performance of Templates: time 0.05178/1.497, allocations: 30.88 MB / 1.504 GB, free: 12.01 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/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