Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001231/0.001231, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 60.78 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9062/1.247, allocations: 212.5 MB / 1.26 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.263, allocations: 12.27 MB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/1.265, allocations: 49.91 kB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/1.266, allocations: 409.6 kB / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005112/1.272, allocations: 1.762 MB / 1.274 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/1.276, allocations: 1.732 MB / 1.275 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006117/1.283, allocations: 3.044 MB / 1.278 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/1.285, allocations: 1.059 MB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/1.287, allocations: 0.716 MB / 1.28 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/1.289, allocations: 0.7109 MB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/1.289, allocations: 48.16 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008584/1.298, allocations: 3.528 MB / 1.284 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000933/1.299, allocations: 0.5075 MB / 1.285 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/1.3, allocations: 0.6762 MB / 1.285 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00676/1.307, allocations: 3.357 MB / 1.289 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.307, allocations: 0 / 1.289 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/1.307, allocations: 0 / 1.289 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.098e-05/1.307, allocations: 0 / 1.289 GB, free: 1.797 MB / 0.9981 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.002967/1.31, allocations: 1.747 MB / 1.29 GB, free: 16.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.31, allocations: 8.938 kB / 1.29 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/1.312, allocations: 372.4 kB / 1.291 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.313, allocations: 0.8929 MB / 1.292 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/1.313, allocations: 80.91 kB / 1.292 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.313, allocations: 99.31 kB / 1.292 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/1.316, allocations: 1.535 MB / 1.293 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/1.316, allocations: 9.031 kB / 1.293 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.316, allocations: 48.81 kB / 1.293 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.374e-05/1.316, allocations: 58.58 kB / 1.293 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/1.318, allocations: 1.025 MB / 1.294 GB, free: 16.12 MB / 1.014 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.007954/1.326, allocations: 5.96 MB / 1.3 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/1.326, allocations: 320.5 kB / 1.301 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.327, allocations: 250.7 kB / 1.301 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/1.327, allocations: 0.7012 MB / 1.301 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.327, allocations: 47.38 kB / 1.302 GB, free: 11.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/1.327, allocations: 3.938 kB / 1.302 GB, free: 11.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001595/1.329, allocations: 0.6749 MB / 1.302 GB, free: 11.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/1.329, allocations: 138.9 kB / 1.302 GB, free: 11.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.331, allocations: 1.677 MB / 1.304 GB, free: 11.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/1.332, allocations: 39.69 kB / 1.304 GB, free: 11.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/1.332, allocations: 0.5568 MB / 1.305 GB, free: 11.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.332, allocations: 104.1 kB / 1.305 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.332, allocations: 66.78 kB / 1.305 GB, free: 11.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.332, allocations: 316.9 kB / 1.305 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.333, allocations: 155.9 kB / 1.305 GB, free: 10.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/1.333, allocations: 273.1 kB / 1.305 GB, free: 10.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/1.334, allocations: 408.4 kB / 1.306 GB, free: 10.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.334, allocations: 1.469 kB / 1.306 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009072/1.334, allocations: 0.5355 MB / 1.306 GB, free: 10.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.334, allocations: 8 kB / 1.306 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.334, allocations: 3 kB / 1.306 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.335, allocations: 10.38 kB / 1.306 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/1.335, allocations: 54.11 kB / 1.306 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.335, allocations: 9.141 kB / 1.306 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/1.336, allocations: 103.2 kB / 1.307 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/1.336, allocations: 27.22 kB / 1.307 GB, free: 10.37 MB / 1.014 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.0005318/1.336, allocations: 388.8 kB / 1.307 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/1.336, allocations: 134.6 kB / 1.307 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/1.337, allocations: 390.1 kB / 1.307 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.337, allocations: 6.562 kB / 1.307 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.337, allocations: 0 / 1.307 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.337, allocations: 2.781 kB / 1.307 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/1.341, allocations: 2.613 MB / 1.31 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.341, allocations: 5.281 kB / 1.31 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/1.341, allocations: 52.08 kB / 1.31 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.341, allocations: 7.5 kB / 1.31 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/1.341, allocations: 16.69 kB / 1.31 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.341, allocations: 13.95 kB / 1.31 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.341, allocations: 6.75 kB / 1.31 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/1.342, allocations: 0.6215 MB / 1.311 GB, free: 8.719 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/1.343, allocations: 300.4 kB / 1.311 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.343, allocations: 9.734 kB / 1.311 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/1.344, allocations: 21.81 kB / 1.311 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/1.344, allocations: 36.58 kB / 1.311 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/1.344, allocations: 24.16 kB / 1.311 GB, free: 8.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001746/1.346, allocations: 1.225 MB / 1.312 GB, free: 8.418 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/1.346, allocations: 0 / 1.312 GB, free: 8.418 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001636/1.347, allocations: 337.8 kB / 1.313 GB, free: 8.383 MB / 1.014 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.00231/1.35, allocations: 0.6233 MB / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006154/1.35, allocations: 343.7 kB / 1.314 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.35, allocations: 0 / 1.314 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.35, allocations: 159 kB / 1.314 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/1.355, allocations: 0.869 MB / 1.315 GB, free: 8.102 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/1.359, allocations: 2.426 MB / 1.317 GB, free: 6.836 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/1.36, allocations: 1.213 MB / 1.318 GB, free: 6.117 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001321/1.361, allocations: 300.2 kB / 1.318 GB, free: 6.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.361, allocations: 80.12 kB / 1.318 GB, free: 6.047 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.361, allocations: 0 / 1.318 GB, free: 6.047 MB / 1.014 GB Notification: Performance of Templates: time 0.05249/1.414, allocations: 29.29 MB / 1.347 GB, free: 12.41 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches