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.001372/0.001372, allocations: 103.4 kB / 16.27 MB, free: 6.414 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.00154/0.00154, allocations: 189.4 kB / 17.2 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.227/2.227, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 65.3 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3026, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.8478/1.15, allocations: 214.1 MB / 1.159 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01661/1.167, allocations: 12.16 MB / 1.171 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/1.17, allocations: 42.72 kB / 1.171 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/1.171, allocations: 0.5126 MB / 1.172 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00625/1.177, allocations: 1.873 MB / 1.174 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005797/1.183, allocations: 1.899 MB / 1.175 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004301/1.188, allocations: 2.381 MB / 1.178 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/1.19, allocations: 1.205 MB / 1.179 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/1.192, allocations: 0.8264 MB / 1.18 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009283/1.192, allocations: 0.6513 MB / 1.18 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/1.193, allocations: 89.19 kB / 1.18 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006764/1.199, allocations: 2.835 MB / 1.183 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006257/1.2, allocations: 0.5432 MB / 1.184 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009041/1.201, allocations: 0.7224 MB / 1.184 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006719/1.208, allocations: 3.131 MB / 1.188 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/1.208, allocations: 0 / 1.188 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.305e-06/1.208, allocations: 3.938 kB / 1.188 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.263e-05/1.208, allocations: 0 / 1.188 GB, free: 9.242 MB / 0.8731 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.002619/1.21, allocations: 1.727 MB / 1.189 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.211, allocations: 7.531 kB / 1.189 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/1.212, allocations: 375.9 kB / 1.19 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/1.213, allocations: 0.8878 MB / 1.19 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/1.213, allocations: 78.53 kB / 1.191 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.214, allocations: 103.2 kB / 1.191 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/1.216, allocations: 1.504 MB / 1.192 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.216, allocations: 7.125 kB / 1.192 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.216, allocations: 51.5 kB / 1.192 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.228e-05/1.216, allocations: 60.52 kB / 1.192 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.217, allocations: 1.016 MB / 1.193 GB, free: 5.5 MB / 0.8731 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.006141/1.223, allocations: 5.933 MB / 1.199 GB, free: 436 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/1.224, allocations: 325.8 kB / 1.199 GB, free: 208 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/1.224, allocations: 248.5 kB / 1.2 GB, free: 64 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/1.225, allocations: 0.7102 MB / 1.2 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.225, allocations: 36.66 kB / 1.2 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 7.644e-06/1.225, allocations: 4 kB / 1.2 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.001287/1.226, allocations: 0.6677 MB / 1.201 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/1.226, allocations: 135.3 kB / 1.201 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.228, allocations: 1.66 MB / 1.203 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/1.228, allocations: 31.77 kB / 1.203 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/1.229, allocations: 0.5623 MB / 1.203 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/1.229, allocations: 92.64 kB / 1.203 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.229, allocations: 62.48 kB / 1.203 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.229, allocations: 326.2 kB / 1.204 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/1.229, allocations: 156.9 kB / 1.204 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/1.23, allocations: 296.2 kB / 1.204 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/1.23, allocations: 427.5 kB / 1.205 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.23, allocations: 0 / 1.205 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007382/1.231, allocations: 0.557 MB / 1.205 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.231, allocations: 9.688 kB / 1.205 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.231, allocations: 4.344 kB / 1.205 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.231, allocations: 3.031 kB / 1.205 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/1.231, allocations: 63.25 kB / 1.205 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.231, allocations: 2.844 kB / 1.205 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/1.232, allocations: 111 kB / 1.205 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/1.232, allocations: 17.53 kB / 1.205 GB, free: 11.95 MB / 0.8887 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.0004139/1.232, allocations: 376.8 kB / 1.206 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/1.232, allocations: 148 kB / 1.206 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005454/1.233, allocations: 383.7 kB / 1.206 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.233, allocations: 4.812 kB / 1.206 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.233, allocations: 0 / 1.206 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.233, allocations: 3.938 kB / 1.206 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/1.237, allocations: 2.595 MB / 1.209 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.237, allocations: 4.781 kB / 1.209 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/1.237, allocations: 55.14 kB / 1.209 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/1.237, allocations: 9.25 kB / 1.209 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/1.237, allocations: 24.36 kB / 1.209 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.237, allocations: 10.84 kB / 1.209 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.237, allocations: 10.75 kB / 1.209 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/1.237, allocations: 0.6215 MB / 1.209 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/1.238, allocations: 292.7 kB / 1.21 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.238, allocations: 19.8 kB / 1.21 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/1.238, allocations: 11.84 kB / 1.21 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/1.238, allocations: 34.8 kB / 1.21 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.238, allocations: 12.31 kB / 1.21 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001406/1.24, allocations: 1.213 MB / 1.211 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.61e-07/1.24, allocations: 0 / 1.211 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001269/1.241, allocations: 332.9 kB / 1.211 GB, free: 7.875 MB / 0.8887 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.001647/1.243, allocations: 0.6321 MB / 1.212 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005841/1.243, allocations: 363.3 kB / 1.212 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.243, allocations: 2.906 kB / 1.212 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/1.244, allocations: 160.6 kB / 1.212 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003762/1.247, allocations: 0.9383 MB / 1.213 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/1.25, allocations: 2.168 MB / 1.215 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/1.251, allocations: 1.194 MB / 1.217 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/1.251, allocations: 87.12 kB / 1.217 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/1.251, allocations: 0 / 1.217 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of Templates: time 0.04007/1.291, allocations: 24.73 MB / 1.241 GB, free: 396 kB / 0.9044 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