Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001441/0.001441, allocations: 110.8 kB / 15.99 MB, free: 6.359 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.001467/0.001467, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 68.33 kB / 0.8694 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.739/1.075, allocations: 211.9 MB / 1.224 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01602/1.091, allocations: 12.18 MB / 1.236 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/1.094, allocations: 47.62 kB / 1.236 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/1.095, allocations: 433.3 kB / 1.237 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006578/1.102, allocations: 1.763 MB / 1.238 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005331/1.107, allocations: 1.779 MB / 1.24 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003414/1.111, allocations: 2.352 MB / 1.243 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/1.113, allocations: 1.177 MB / 1.244 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/1.115, allocations: 0.8249 MB / 1.244 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.116, allocations: 0.7391 MB / 1.245 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003888/1.117, allocations: 92 kB / 1.245 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007526/1.124, allocations: 3.258 MB / 1.248 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007581/1.125, allocations: 0.5492 MB / 1.249 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/1.126, allocations: 0.7309 MB / 1.25 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/1.13, allocations: 2.46 MB / 1.252 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.13, allocations: 4 kB / 1.252 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.944e-06/1.13, allocations: 0 / 1.252 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.392e-05/1.131, allocations: 0 / 1.252 GB, free: 9.582 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.003482/1.134, allocations: 1.746 MB / 1.254 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.134, allocations: 8.922 kB / 1.254 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/1.136, allocations: 377.8 kB / 1.254 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.138, allocations: 0.8917 MB / 1.255 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/1.138, allocations: 74.06 kB / 1.255 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.138, allocations: 100 kB / 1.255 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/1.14, allocations: 1.535 MB / 1.257 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.14, allocations: 11.88 kB / 1.257 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.14, allocations: 44 kB / 1.257 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.513e-05/1.14, allocations: 65.48 kB / 1.257 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.142, allocations: 1.017 MB / 1.258 GB, free: 3.512 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.006869/1.149, allocations: 5.97 MB / 1.264 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/1.149, allocations: 318.2 kB / 1.264 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/1.15, allocations: 247.4 kB / 1.264 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/1.15, allocations: 0.7039 MB / 1.265 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.15, allocations: 38.56 kB / 1.265 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/1.15, allocations: 4 kB / 1.265 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001412/1.152, allocations: 0.6729 MB / 1.266 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/1.152, allocations: 136.5 kB / 1.266 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/1.154, allocations: 1.686 MB / 1.267 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/1.154, allocations: 33.7 kB / 1.267 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/1.155, allocations: 0.5623 MB / 1.268 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/1.155, allocations: 98.64 kB / 1.268 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.155, allocations: 61.61 kB / 1.268 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.155, allocations: 318 kB / 1.268 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/1.155, allocations: 155.9 kB / 1.269 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/1.156, allocations: 268.4 kB / 1.269 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/1.156, allocations: 412.9 kB / 1.269 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.156, allocations: 4 kB / 1.269 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008379/1.157, allocations: 0.5386 MB / 1.27 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.157, allocations: 11.94 kB / 1.27 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.157, allocations: 0 / 1.27 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.157, allocations: 4 kB / 1.27 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.157, allocations: 56.09 kB / 1.27 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.157, allocations: 8 kB / 1.27 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/1.158, allocations: 122.4 kB / 1.27 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/1.158, allocations: 16 kB / 1.27 GB, free: 6.457 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.0004882/1.158, allocations: 377.6 kB / 1.27 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/1.159, allocations: 138.2 kB / 1.27 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000605/1.159, allocations: 385 kB / 1.271 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.159, allocations: 4 kB / 1.271 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.159, allocations: 0 / 1.271 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.159, allocations: 7.922 kB / 1.271 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/1.163, allocations: 2.607 MB / 1.273 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.163, allocations: 15.86 kB / 1.273 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/1.163, allocations: 47.92 kB / 1.273 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.163, allocations: 8 kB / 1.273 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/1.163, allocations: 12.72 kB / 1.273 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/1.163, allocations: 15.92 kB / 1.273 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.163, allocations: 15.94 kB / 1.273 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/1.164, allocations: 0.6068 MB / 1.274 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/1.165, allocations: 295.2 kB / 1.274 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/1.165, allocations: 19.94 kB / 1.274 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/1.165, allocations: 23.89 kB / 1.274 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/1.165, allocations: 35.8 kB / 1.274 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.166, allocations: 20 kB / 1.274 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001599/1.167, allocations: 1.227 MB / 1.276 GB, free: 304 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.167, allocations: 0 / 1.276 GB, free: 304 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001154/1.168, allocations: 335.8 kB / 1.276 GB, free: 15.96 MB / 0.9825 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.001956/1.17, allocations: 0.6209 MB / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006007/1.171, allocations: 355.5 kB / 1.277 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.171, allocations: 0 / 1.277 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.171, allocations: 161.1 kB / 1.277 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/1.175, allocations: 0.9206 MB / 1.278 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/1.179, allocations: 2.498 MB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/1.18, allocations: 1.212 MB / 1.282 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.18, allocations: 83.44 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of SimCode: time 1.172e-06/1.18, allocations: 0 / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of Templates: time 0.03854/1.219, allocations: 24.83 MB / 1.306 GB, free: 1.367 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches