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.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.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.001362/0.001367, allocations: 102 kB / 16.41 MB, free: 6.488 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.001361/0.001361, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.35/1.35, 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.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9346, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2771/1.212, allocations: 214.1 MB / 1.298 GB, free: 7.504 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01699/1.229, allocations: 12.16 MB / 1.31 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/1.231, allocations: 43.69 kB / 1.31 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/1.232, allocations: 0.5002 MB / 1.31 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005796/1.238, allocations: 1.884 MB / 1.312 GB, free: 8.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005151/1.244, allocations: 1.908 MB / 1.314 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00378/1.247, allocations: 2.379 MB / 1.316 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/1.249, allocations: 1.205 MB / 1.317 GB, free: 3.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/1.251, allocations: 0.8405 MB / 1.318 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009752/1.252, allocations: 0.6534 MB / 1.319 GB, free: 1.852 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/1.252, allocations: 88 kB / 1.319 GB, free: 1.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006541/1.259, allocations: 2.696 MB / 1.321 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006596/1.259, allocations: 0.5454 MB / 1.322 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009378/1.26, allocations: 0.7192 MB / 1.323 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006445/1.267, allocations: 3.097 MB / 1.326 GB, free: 10.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.267, allocations: 0 / 1.326 GB, free: 10.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/1.267, allocations: 0 / 1.326 GB, free: 10.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.611e-05/1.267, allocations: 0 / 1.326 GB, free: 10.69 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002673/1.27, allocations: 1.729 MB / 1.327 GB, free: 8.902 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.27, allocations: 8.031 kB / 1.327 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/1.271, allocations: 377.8 kB / 1.328 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/1.273, allocations: 0.9541 MB / 1.329 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/1.273, allocations: 78.03 kB / 1.329 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.273, allocations: 104 kB / 1.329 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/1.275, allocations: 1.509 MB / 1.33 GB, free: 5.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.275, allocations: 8 kB / 1.33 GB, free: 5.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/1.275, allocations: 44 kB / 1.33 GB, free: 5.676 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/1.276, allocations: 65.47 kB / 1.33 GB, free: 5.609 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/1.277, allocations: 1.009 MB / 1.331 GB, free: 4.602 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.005818/1.283, allocations: 5.816 MB / 1.337 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/1.283, allocations: 314.2 kB / 1.337 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/1.284, allocations: 259.6 kB / 1.338 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/1.284, allocations: 0.7 MB / 1.338 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.284, allocations: 46.5 kB / 1.338 GB, free: 12.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/1.284, allocations: 0 / 1.338 GB, free: 12.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001326/1.286, allocations: 0.6636 MB / 1.339 GB, free: 12.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/1.286, allocations: 140.6 kB / 1.339 GB, free: 12.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/1.288, allocations: 1.658 MB / 1.341 GB, free: 10.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/1.288, allocations: 29.7 kB / 1.341 GB, free: 10.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/1.288, allocations: 0.5541 MB / 1.341 GB, free: 9.855 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/1.288, allocations: 94.64 kB / 1.341 GB, free: 9.762 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.289, allocations: 73.59 kB / 1.342 GB, free: 9.684 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.289, allocations: 321.9 kB / 1.342 GB, free: 9.363 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.289, allocations: 159.9 kB / 1.342 GB, free: 9.207 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/1.289, allocations: 286.1 kB / 1.342 GB, free: 8.891 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/1.29, allocations: 438.5 kB / 1.343 GB, free: 8.426 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.29, allocations: 0 / 1.343 GB, free: 8.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007473/1.29, allocations: 0.562 MB / 1.343 GB, free: 7.855 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.291, allocations: 8 kB / 1.343 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.291, allocations: 4 kB / 1.343 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.291, allocations: 4 kB / 1.343 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/1.291, allocations: 55.92 kB / 1.343 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.291, allocations: 7.984 kB / 1.343 GB, free: 7.777 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/1.291, allocations: 110.7 kB / 1.343 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.291, allocations: 28.06 kB / 1.343 GB, free: 7.641 MB / 1.076 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000422/1.292, allocations: 381.5 kB / 1.344 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/1.292, allocations: 138.3 kB / 1.344 GB, free: 7.121 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/1.293, allocations: 376.8 kB / 1.344 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.293, allocations: 4 kB / 1.344 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.293, allocations: 0 / 1.344 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.293, allocations: 7.984 kB / 1.344 GB, free: 6.715 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/1.296, allocations: 2.516 MB / 1.347 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.296, allocations: 8 kB / 1.347 GB, free: 4.008 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/1.296, allocations: 44.73 kB / 1.347 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/1.296, allocations: 8 kB / 1.347 GB, free: 3.957 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.296, allocations: 23.94 kB / 1.347 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.296, allocations: 11.92 kB / 1.347 GB, free: 3.922 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.296, allocations: 8 kB / 1.347 GB, free: 3.914 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/1.297, allocations: 0.6183 MB / 1.347 GB, free: 3.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.297, allocations: 295.1 kB / 1.348 GB, free: 2.887 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.297, allocations: 12 kB / 1.348 GB, free: 2.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/1.298, allocations: 12 kB / 1.348 GB, free: 2.863 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/1.298, allocations: 39.84 kB / 1.348 GB, free: 2.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/1.298, allocations: 16 kB / 1.348 GB, free: 2.809 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001453/1.299, allocations: 1.203 MB / 1.349 GB, free: 1.609 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.299, allocations: 0 / 1.349 GB, free: 1.609 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009954/1.3, allocations: 327.8 kB / 1.349 GB, free: 1.289 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.001423/1.302, allocations: 0.6178 MB / 1.35 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005597/1.302, allocations: 364.4 kB / 1.35 GB, free: 328 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.302, allocations: 0 / 1.35 GB, free: 328 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.302, allocations: 165.5 kB / 1.35 GB, free: 164 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/1.306, allocations: 0.9219 MB / 1.351 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/1.309, allocations: 2.143 MB / 1.353 GB, free: 13.01 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/1.31, allocations: 1.197 MB / 1.355 GB, free: 11.78 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/1.31, allocations: 83.44 kB / 1.355 GB, free: 11.7 MB / 1.092 GB Notification: Performance of SimCode: time 8.72e-07/1.31, allocations: 0 / 1.355 GB, free: 11.7 MB / 1.092 GB Notification: Performance of Templates: time 0.03431/1.344, allocations: 24.82 MB / 1.379 GB, free: 3.074 MB / 1.107 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/jenkins1/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