Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001014/0.001015, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001301/0.001301, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.316 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.532/2.532, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7301, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2171/0.9472, allocations: 195.6 MB / 1.145 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.9614, allocations: 11.46 MB / 1.157 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.9628, allocations: 43.62 kB / 1.157 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.9638, allocations: 365.2 kB / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.9674, allocations: 1.407 MB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.9708, allocations: 1.303 MB / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.9735, allocations: 2.636 MB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.9746, allocations: 0.8534 MB / 1.163 GB, free: 9.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.9757, allocations: 0.704 MB / 1.164 GB, free: 8.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.9765, allocations: 0.6419 MB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.9766, allocations: 36 kB / 1.164 GB, free: 7.891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/0.9819, allocations: 2.16 MB / 1.167 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.9825, allocations: 498.6 kB / 1.167 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.983, allocations: 309 kB / 1.167 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.9869, allocations: 2.237 MB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.9869, allocations: 7.984 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.867e-06/0.987, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.987, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 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.002366/0.9894, allocations: 1.448 MB / 1.171 GB, free: 1.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9894, allocations: 8.031 kB / 1.171 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.991, allocations: 373.8 kB / 1.171 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.9921, allocations: 0.8458 MB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.9922, allocations: 81.94 kB / 1.172 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.9923, allocations: 100 kB / 1.172 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9944, allocations: 1.509 MB / 1.174 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.9944, allocations: 15.83 kB / 1.174 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.9945, allocations: 44 kB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.9946, allocations: 61.53 kB / 1.174 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.996, allocations: 1.005 MB / 1.175 GB, free: 12.99 MB / 0.9356 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.005957/1.002, allocations: 5.887 MB / 1.181 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/1.003, allocations: 314.2 kB / 1.181 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/1.003, allocations: 251.3 kB / 1.181 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/1.004, allocations: 0.7081 MB / 1.182 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.004, allocations: 38.56 kB / 1.182 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 3.386e-06/1.004, allocations: 3.938 kB / 1.182 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001309/1.005, allocations: 0.6755 MB / 1.183 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.005, allocations: 132.5 kB / 1.183 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.007, allocations: 1.642 MB / 1.184 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/1.007, allocations: 29.7 kB / 1.184 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/1.008, allocations: 0.5541 MB / 1.185 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/1.008, allocations: 90.66 kB / 1.185 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/1.008, allocations: 4 kB / 1.185 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.008, allocations: 322 kB / 1.185 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/1.008, allocations: 163.9 kB / 1.185 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/1.008, allocations: 282.1 kB / 1.186 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/1.009, allocations: 200.5 kB / 1.186 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.009, allocations: 4 kB / 1.186 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007416/1.009, allocations: 0.5583 MB / 1.186 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.009, allocations: 11.94 kB / 1.186 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.009, allocations: 4 kB / 1.186 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.009, allocations: 4 kB / 1.186 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/1.01, allocations: 55.91 kB / 1.187 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.01, allocations: 4 kB / 1.187 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/1.01, allocations: 118.5 kB / 1.187 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/1.01, allocations: 20.06 kB / 1.187 GB, free: 332 kB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005053/1.011, allocations: 381.6 kB / 1.187 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/1.011, allocations: 138.2 kB / 1.187 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/1.012, allocations: 376.7 kB / 1.188 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.012, allocations: 4.094 kB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.012, allocations: 0 / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.012, allocations: 15.92 kB / 1.188 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/1.015, allocations: 2.552 MB / 1.19 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.015, allocations: 4 kB / 1.19 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/1.015, allocations: 47.92 kB / 1.19 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/1.015, allocations: 8 kB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.015, allocations: 12 kB / 1.19 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/1.015, allocations: 19.98 kB / 1.19 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.015, allocations: 12.25 kB / 1.19 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/1.016, allocations: 0.6187 MB / 1.191 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.016, allocations: 299.2 kB / 1.191 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/1.016, allocations: 16 kB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/1.017, allocations: 19.94 kB / 1.191 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/1.017, allocations: 43.75 kB / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/1.017, allocations: 20 kB / 1.191 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001442/1.018, allocations: 1.179 MB / 1.192 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.018, allocations: 0 / 1.192 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00102/1.019, allocations: 339.7 kB / 1.193 GB, free: 9.934 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/1.021, allocations: 0.5103 MB / 1.193 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005686/1.021, allocations: 351.6 kB / 1.193 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.021, allocations: 0 / 1.193 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.021, allocations: 165.2 kB / 1.194 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/1.025, allocations: 0.8419 MB / 1.194 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/1.028, allocations: 2.277 MB / 1.197 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/1.029, allocations: 1.197 MB / 1.198 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008348/1.029, allocations: 306.6 kB / 1.198 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/1.03, allocations: 79.44 kB / 1.198 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/1.03, allocations: 4 kB / 1.198 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.04503/1.075, allocations: 27.78 MB / 1.225 GB, free: 8.684 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches