Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001578/0.001578, allocations: 194.8 kB / 16.25 MB, free: 6.641 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.6763, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2562/0.9325, allocations: 212 MB / 1.156 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.9476, allocations: 12.17 MB / 1.168 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.9495, allocations: 47.62 kB / 1.168 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.951, allocations: 441.3 kB / 1.168 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.9562, allocations: 1.755 MB / 1.17 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00453/0.9608, allocations: 1.789 MB / 1.172 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.964, allocations: 2.356 MB / 1.174 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.9658, allocations: 1.158 MB / 1.175 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.9674, allocations: 0.8366 MB / 1.176 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.9686, allocations: 0.7159 MB / 1.177 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.9687, allocations: 92 kB / 1.177 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005434/0.9742, allocations: 3.253 MB / 1.18 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004854/0.9747, allocations: 0.5454 MB / 1.181 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007496/0.9754, allocations: 0.7464 MB / 1.181 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.9803, allocations: 3.397 MB / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9803, allocations: 0 / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9803, allocations: 0 / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.9803, allocations: 0 / 1.185 GB, free: 15.99 MB / 0.9512 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.002167/0.9825, allocations: 1.733 MB / 1.186 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.9825, allocations: 12.03 kB / 1.186 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.9842, allocations: 381.7 kB / 1.187 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.9854, allocations: 0.8956 MB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.9854, allocations: 74.06 kB / 1.188 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.9856, allocations: 100 kB / 1.188 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.9876, allocations: 1.533 MB / 1.189 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.9876, allocations: 7.938 kB / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.9877, allocations: 44 kB / 1.189 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-05/0.9878, allocations: 65.47 kB / 1.189 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.9892, allocations: 1.029 MB / 1.19 GB, free: 9.918 MB / 0.9512 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.006731/0.9959, allocations: 5.969 MB / 1.196 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.9965, allocations: 318.2 kB / 1.197 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.9968, allocations: 247.4 kB / 1.197 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/0.9976, allocations: 0.7116 MB / 1.197 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.9976, allocations: 38.55 kB / 1.197 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.9976, allocations: 0 / 1.197 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001333/0.9989, allocations: 0.6678 MB / 1.198 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.999, allocations: 136.5 kB / 1.198 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.001, allocations: 1.682 MB / 1.2 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/1.001, allocations: 41.58 kB / 1.2 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/1.002, allocations: 0.5583 MB / 1.201 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/1.002, allocations: 94.64 kB / 1.201 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.002, allocations: 65.61 kB / 1.201 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.002, allocations: 322 kB / 1.201 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/1.002, allocations: 159.9 kB / 1.201 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/1.002, allocations: 264.4 kB / 1.201 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/1.003, allocations: 404.3 kB / 1.202 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.003, allocations: 0 / 1.202 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007321/1.004, allocations: 0.5432 MB / 1.202 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.004, allocations: 8 kB / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.004, allocations: 0 / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.004, allocations: 4 kB / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/1.004, allocations: 59.91 kB / 1.202 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.004, allocations: 11.88 kB / 1.202 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/1.005, allocations: 114.8 kB / 1.202 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/1.005, allocations: 23.98 kB / 1.203 GB, free: 12.86 MB / 0.9669 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.0004603/1.005, allocations: 377.6 kB / 1.203 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.005, allocations: 134.3 kB / 1.203 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/1.006, allocations: 388.8 kB / 1.203 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.006, allocations: 4 kB / 1.203 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.006, allocations: 7.938 kB / 1.203 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.006, allocations: 4.047 kB / 1.203 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/1.009, allocations: 2.608 MB / 1.206 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.009, allocations: 8 kB / 1.206 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/1.01, allocations: 47.92 kB / 1.206 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.01, allocations: 8 kB / 1.206 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/1.01, allocations: 12 kB / 1.206 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/1.01, allocations: 15.92 kB / 1.206 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.01, allocations: 8 kB / 1.206 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/1.01, allocations: 0.632 MB / 1.207 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/1.011, allocations: 295.1 kB / 1.207 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.011, allocations: 12 kB / 1.207 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/1.011, allocations: 31.83 kB / 1.207 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/1.011, allocations: 27.86 kB / 1.207 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/1.011, allocations: 27.94 kB / 1.207 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001698/1.013, allocations: 1.223 MB / 1.208 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.013, allocations: 0 / 1.208 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001055/1.014, allocations: 339.8 kB / 1.209 GB, free: 6.363 MB / 0.9669 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.00169/1.016, allocations: 0.6226 MB / 1.209 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006197/1.016, allocations: 343.5 kB / 1.209 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.017, allocations: 4 kB / 1.209 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/1.017, allocations: 160.5 kB / 1.21 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.021, allocations: 0.9262 MB / 1.211 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/1.024, allocations: 2.426 MB / 1.213 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009837/1.025, allocations: 1.208 MB / 1.214 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00106/1.026, allocations: 294.7 kB / 1.214 GB, free: 292 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/1.027, allocations: 83.38 kB / 1.214 GB, free: 208 kB / 0.9669 GB Notification: Performance of SimCode: time 9.31e-07/1.027, allocations: 4 kB / 1.214 GB, free: 204 kB / 0.9669 GB Notification: Performance of Templates: time 0.05029/1.077, allocations: 30.12 MB / 1.244 GB, free: 2.477 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches