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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001507/0.001507, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7236, allocations: 140.3 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2338/0.9574, allocations: 212.5 MB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.9743, allocations: 12.27 MB / 1.169 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.9763, allocations: 55.56 kB / 1.169 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.9776, allocations: 405.3 kB / 1.169 GB, free: 140 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.9823, allocations: 1.751 MB / 1.171 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.9867, allocations: 1.744 MB / 1.173 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003457/0.9902, allocations: 3.038 MB / 1.176 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.9917, allocations: 1.051 MB / 1.177 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.993, allocations: 0.7273 MB / 1.178 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008163/0.9939, allocations: 0.6963 MB / 1.178 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.994, allocations: 48 kB / 1.178 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006479/1, allocations: 3.527 MB / 1.182 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006519/1.001, allocations: 0.4986 MB / 1.182 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009407/1.002, allocations: 0.6839 MB / 1.183 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/1.006, allocations: 2.452 MB / 1.185 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.006, allocations: 0 / 1.185 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.284e-06/1.006, allocations: 0 / 1.185 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.006, allocations: 0 / 1.185 GB, free: 15.86 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.002369/1.008, allocations: 1.746 MB / 1.187 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.008, allocations: 8.031 kB / 1.187 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/1.01, allocations: 373.8 kB / 1.187 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.011, allocations: 0.8994 MB / 1.188 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/1.011, allocations: 74.06 kB / 1.188 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/1.011, allocations: 104 kB / 1.188 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/1.013, allocations: 1.536 MB / 1.19 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.013, allocations: 4 kB / 1.19 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/1.013, allocations: 44 kB / 1.19 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.452e-05/1.014, allocations: 69.41 kB / 1.19 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/1.015, allocations: 1.017 MB / 1.191 GB, free: 9.789 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.006334/1.021, allocations: 5.965 MB / 1.197 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/1.022, allocations: 322.2 kB / 1.197 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.022, allocations: 255.2 kB / 1.197 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000704/1.023, allocations: 0.7077 MB / 1.198 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.023, allocations: 42.55 kB / 1.198 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/1.023, allocations: 0 / 1.198 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.00128/1.024, allocations: 0.66 MB / 1.199 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.024, allocations: 140.6 kB / 1.199 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/1.026, allocations: 1.686 MB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/1.026, allocations: 33.7 kB / 1.201 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/1.027, allocations: 0.5659 MB / 1.201 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/1.027, allocations: 94.64 kB / 1.201 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.027, allocations: 65.61 kB / 1.201 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.027, allocations: 318 kB / 1.202 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.027, allocations: 167.8 kB / 1.202 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/1.028, allocations: 260.5 kB / 1.202 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/1.028, allocations: 404.9 kB / 1.202 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.028, allocations: 0 / 1.202 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007885/1.029, allocations: 0.5542 MB / 1.203 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.029, allocations: 8 kB / 1.203 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.029, allocations: 3.984 kB / 1.203 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.029, allocations: 4 kB / 1.203 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.029, allocations: 55.92 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.029, allocations: 7.938 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/1.03, allocations: 110.6 kB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/1.03, allocations: 24 kB / 1.203 GB, free: 12.72 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.0004816/1.03, allocations: 377.6 kB / 1.204 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/1.031, allocations: 134.3 kB / 1.204 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/1.031, allocations: 380.7 kB / 1.204 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.031, allocations: 0 / 1.204 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.031, allocations: 15.92 kB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.031, allocations: 0 / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/1.035, allocations: 2.608 MB / 1.207 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.035, allocations: 8.031 kB / 1.207 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/1.035, allocations: 51.91 kB / 1.207 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.035, allocations: 8 kB / 1.207 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/1.035, allocations: 12 kB / 1.207 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.035, allocations: 15.88 kB / 1.207 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.035, allocations: 7.938 kB / 1.207 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/1.036, allocations: 0.628 MB / 1.207 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/1.036, allocations: 295.2 kB / 1.208 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/1.036, allocations: 15.98 kB / 1.208 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/1.037, allocations: 27.94 kB / 1.208 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/1.037, allocations: 35.78 kB / 1.208 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/1.037, allocations: 20 kB / 1.208 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001482/1.038, allocations: 1.223 MB / 1.209 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.774e-06/1.038, allocations: 4 kB / 1.209 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001046/1.039, allocations: 343.7 kB / 1.209 GB, free: 6.223 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.001691/1.041, allocations: 0.6214 MB / 1.21 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000529/1.042, allocations: 339.5 kB / 1.21 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.042, allocations: 0 / 1.21 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/1.042, allocations: 160.9 kB / 1.21 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.045, allocations: 0.8712 MB / 1.211 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/1.048, allocations: 2.495 MB / 1.214 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/1.049, allocations: 1.208 MB / 1.215 GB, free: 420 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/1.05, allocations: 83.44 kB / 1.215 GB, free: 336 kB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/1.05, allocations: 4 kB / 1.215 GB, free: 332 kB / 0.9669 GB Notification: Performance of Templates: time 0.03755/1.087, allocations: 24.82 MB / 1.239 GB, free: 7.695 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