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.001528/0.001528, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001707/0.001707, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 4.512 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.57/2.57, allocations: 390.3 MB / 0.665 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 63.89 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7216, allocations: 140.3 MB / 0.9498 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2257/0.9474, allocations: 212 MB / 1.157 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.9637, allocations: 12.16 MB / 1.169 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.9655, allocations: 43.62 kB / 1.169 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.967, allocations: 441.3 kB / 1.169 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.9719, allocations: 1.77 MB / 1.171 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.9769, allocations: 1.776 MB / 1.173 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.9811, allocations: 2.36 MB / 1.175 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.9836, allocations: 1.166 MB / 1.176 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.9856, allocations: 0.8327 MB / 1.177 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.9869, allocations: 0.7236 MB / 1.178 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.9873, allocations: 96 kB / 1.178 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006268/0.9935, allocations: 3.251 MB / 1.181 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.9943, allocations: 0.5454 MB / 1.181 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.9955, allocations: 0.7387 MB / 1.182 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.9998, allocations: 2.467 MB / 1.184 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9998, allocations: 3.938 kB / 1.184 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9998, allocations: 0 / 1.184 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.376e-05/0.9999, allocations: 0 / 1.184 GB, free: 0.9141 MB / 0.9356 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.003373/1.003, allocations: 1.737 MB / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.003, allocations: 12.03 kB / 1.186 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/1.005, allocations: 377.7 kB / 1.187 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/1.007, allocations: 0.8839 MB / 1.187 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/1.007, allocations: 86.05 kB / 1.187 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/1.007, allocations: 100 kB / 1.188 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/1.009, allocations: 1.533 MB / 1.189 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/1.009, allocations: 3.938 kB / 1.189 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.01, allocations: 48 kB / 1.189 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/1.01, allocations: 69.47 kB / 1.189 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/1.011, allocations: 1.029 MB / 1.19 GB, free: 10.84 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.007277/1.018, allocations: 5.957 MB / 1.196 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/1.019, allocations: 314.2 kB / 1.196 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/1.019, allocations: 243.7 kB / 1.197 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/1.02, allocations: 0.7155 MB / 1.197 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.02, allocations: 46.5 kB / 1.197 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.915e-06/1.02, allocations: 0 / 1.197 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001395/1.022, allocations: 0.664 MB / 1.198 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.022, allocations: 140.4 kB / 1.198 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/1.024, allocations: 1.686 MB / 1.2 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/1.024, allocations: 29.83 kB / 1.2 GB, free: 496 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/1.025, allocations: 0.5622 MB / 1.2 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/1.025, allocations: 94.56 kB / 1.2 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.025, allocations: 69.61 kB / 1.2 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.025, allocations: 318 kB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/1.025, allocations: 163.8 kB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/1.025, allocations: 268.5 kB / 1.201 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/1.026, allocations: 404.3 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.026, allocations: 0 / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000843/1.027, allocations: 0.5425 MB / 1.202 GB, free: 14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.027, allocations: 4 kB / 1.202 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.027, allocations: 4 kB / 1.202 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.027, allocations: 4 kB / 1.202 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.027, allocations: 56.09 kB / 1.202 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.027, allocations: 7.938 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/1.028, allocations: 114.5 kB / 1.202 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/1.028, allocations: 23.94 kB / 1.202 GB, free: 13.79 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.0005173/1.028, allocations: 381.6 kB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/1.029, allocations: 138.3 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/1.029, allocations: 385.4 kB / 1.203 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.029, allocations: 4 kB / 1.203 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.029, allocations: 8.031 kB / 1.203 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.029, allocations: 7.969 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/1.033, allocations: 2.603 MB / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.033, allocations: 8 kB / 1.206 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/1.033, allocations: 43.92 kB / 1.206 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.033, allocations: 8.781 kB / 1.206 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/1.034, allocations: 16 kB / 1.206 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.034, allocations: 19.92 kB / 1.206 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.034, allocations: 7.938 kB / 1.206 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/1.034, allocations: 0.6241 MB / 1.206 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/1.035, allocations: 299.1 kB / 1.207 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/1.035, allocations: 12 kB / 1.207 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/1.036, allocations: 27.83 kB / 1.207 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/1.036, allocations: 31.86 kB / 1.207 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/1.036, allocations: 20 kB / 1.207 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00157/1.037, allocations: 1.223 MB / 1.208 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.362e-06/1.037, allocations: 0 / 1.208 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001073/1.038, allocations: 331.8 kB / 1.208 GB, free: 7.305 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.001948/1.04, allocations: 0.6341 MB / 1.209 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000603/1.041, allocations: 355.5 kB / 1.209 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.041, allocations: 7.938 kB / 1.209 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.041, allocations: 153 kB / 1.209 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.045, allocations: 0.9205 MB / 1.21 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/1.049, allocations: 2.486 MB / 1.213 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/1.05, allocations: 1.208 MB / 1.214 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/1.05, allocations: 87.44 kB / 1.214 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of SimCode: time 1.122e-06/1.05, allocations: 0 / 1.214 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of Templates: time 0.03735/1.087, allocations: 24.82 MB / 1.238 GB, free: 8.719 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/jenkins1/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