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.001241/0.001241, allocations: 102 kB / 16.4 MB, free: 6.461 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.001275/0.001275, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 67.88 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8954, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2707/1.166, allocations: 214.1 MB / 1.298 GB, free: 7.531 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01562/1.182, allocations: 12.17 MB / 1.31 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/1.184, allocations: 43.69 kB / 1.31 GB, free: 11.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/1.186, allocations: 0.5119 MB / 1.31 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/1.191, allocations: 1.958 MB / 1.312 GB, free: 8.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004983/1.196, allocations: 1.934 MB / 1.314 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003686/1.2, allocations: 2.352 MB / 1.316 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.202, allocations: 1.236 MB / 1.317 GB, free: 3.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/1.203, allocations: 0.8366 MB / 1.318 GB, free: 2.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008089/1.204, allocations: 0.6573 MB / 1.319 GB, free: 1.754 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/1.204, allocations: 91.94 kB / 1.319 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/1.21, allocations: 2.715 MB / 1.322 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005596/1.21, allocations: 0.5415 MB / 1.322 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008511/1.211, allocations: 0.7425 MB / 1.323 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005298/1.217, allocations: 3.112 MB / 1.326 GB, free: 10.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.217, allocations: 0 / 1.326 GB, free: 10.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/1.217, allocations: 0 / 1.326 GB, free: 10.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.113e-05/1.217, allocations: 0 / 1.326 GB, free: 10.53 MB / 1.061 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.00244/1.219, allocations: 1.733 MB / 1.328 GB, free: 8.742 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.219, allocations: 8.031 kB / 1.328 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/1.221, allocations: 385.7 kB / 1.328 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.222, allocations: 0.9541 MB / 1.329 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/1.222, allocations: 86.05 kB / 1.329 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.223, allocations: 100 kB / 1.329 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/1.225, allocations: 1.527 MB / 1.331 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.225, allocations: 3.938 kB / 1.331 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/1.225, allocations: 48 kB / 1.331 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.927e-05/1.225, allocations: 65.47 kB / 1.331 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/1.226, allocations: 1.029 MB / 1.332 GB, free: 4.391 MB / 1.061 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.006041/1.232, allocations: 5.84 MB / 1.337 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/1.233, allocations: 318.2 kB / 1.338 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/1.233, allocations: 247.4 kB / 1.338 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/1.234, allocations: 0.7197 MB / 1.339 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.234, allocations: 42.5 kB / 1.339 GB, free: 12.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/1.234, allocations: 0 / 1.339 GB, free: 12.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001558/1.235, allocations: 0.6714 MB / 1.339 GB, free: 12.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/1.236, allocations: 136.5 kB / 1.339 GB, free: 11.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/1.238, allocations: 1.686 MB / 1.341 GB, free: 10.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/1.238, allocations: 29.7 kB / 1.341 GB, free: 10.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/1.238, allocations: 0.5544 MB / 1.342 GB, free: 9.586 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/1.238, allocations: 90.66 kB / 1.342 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.238, allocations: 74.09 kB / 1.342 GB, free: 9.418 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.238, allocations: 318 kB / 1.342 GB, free: 9.102 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.239, allocations: 155.9 kB / 1.342 GB, free: 8.949 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/1.239, allocations: 274 kB / 1.343 GB, free: 8.652 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/1.239, allocations: 416.2 kB / 1.343 GB, free: 8.215 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.239, allocations: 3.938 kB / 1.343 GB, free: 8.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007625/1.24, allocations: 0.5387 MB / 1.343 GB, free: 7.664 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.24, allocations: 4 kB / 1.343 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.24, allocations: 7.938 kB / 1.343 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.24, allocations: 4 kB / 1.343 GB, free: 7.648 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.24, allocations: 47.92 kB / 1.344 GB, free: 7.602 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.24, allocations: 12.66 kB / 1.344 GB, free: 7.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/1.241, allocations: 110.5 kB / 1.344 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/1.241, allocations: 20 kB / 1.344 GB, free: 7.461 MB / 1.076 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.0004554/1.242, allocations: 388.2 kB / 1.344 GB, free: 7.074 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/1.242, allocations: 138.2 kB / 1.344 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/1.242, allocations: 384.7 kB / 1.345 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.242, allocations: 4 kB / 1.345 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.242, allocations: 7.938 kB / 1.345 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.242, allocations: 0 / 1.345 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/1.246, allocations: 2.517 MB / 1.347 GB, free: 3.828 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.246, allocations: 4 kB / 1.347 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.246, allocations: 51.91 kB / 1.347 GB, free: 3.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.246, allocations: 8 kB / 1.347 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/1.246, allocations: 12.72 kB / 1.347 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/1.246, allocations: 11.94 kB / 1.347 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.246, allocations: 12 kB / 1.347 GB, free: 3.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/1.247, allocations: 0.6223 MB / 1.348 GB, free: 3.008 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/1.247, allocations: 299.1 kB / 1.348 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.248, allocations: 12 kB / 1.348 GB, free: 2.684 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/1.248, allocations: 12 kB / 1.348 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/1.248, allocations: 39.84 kB / 1.348 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/1.248, allocations: 16 kB / 1.348 GB, free: 2.617 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00156/1.25, allocations: 1.223 MB / 1.349 GB, free: 1.398 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.3e-07/1.25, allocations: 0 / 1.349 GB, free: 1.398 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001151/1.251, allocations: 331.8 kB / 1.35 GB, free: 1.074 MB / 1.076 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.001546/1.252, allocations: 0.6098 MB / 1.35 GB, free: 472 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006005/1.253, allocations: 355.5 kB / 1.35 GB, free: 116 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.253, allocations: 0 / 1.35 GB, free: 116 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/1.253, allocations: 157 kB / 1.351 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/1.257, allocations: 0.9315 MB / 1.352 GB, free: 15.06 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.26, allocations: 2.169 MB / 1.354 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/1.26, allocations: 1.204 MB / 1.355 GB, free: 11.54 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/1.261, allocations: 87.42 kB / 1.355 GB, free: 11.45 MB / 1.092 GB Notification: Performance of SimCode: time 8.72e-07/1.261, allocations: 0 / 1.355 GB, free: 11.45 MB / 1.092 GB Notification: Performance of Templates: time 0.03751/1.298, allocations: 24.91 MB / 1.379 GB, free: 2.73 MB / 1.107 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