Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00262/0.00262, allocations: 83.69 kB / 20.23 MB, free: 4.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003273/0.003273, allocations: 157.3 kB / 23.55 MB, free: 0.8555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.669/1.669, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.068/3.068, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.944e-05, allocations: 9.703 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.3129/0.3129, allocations: 211.9 MB / 1.018 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.3342, allocations: 12.47 MB / 1.03 GB, free: 1.031 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.3359, allocations: 59.44 kB / 1.03 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.3378, allocations: 0.5273 MB / 1.03 GB, free: 452 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.3441, allocations: 1.959 MB / 1.032 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006017/0.3502, allocations: 2.029 MB / 1.034 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00399/0.3541, allocations: 2.367 MB / 1.037 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.356, allocations: 0.854 MB / 1.038 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008922/0.3649, allocations: 3.478 MB / 1.041 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.3662, allocations: 0.5959 MB / 1.042 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.3664, allocations: 88 kB / 1.042 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/0.3713, allocations: 2.084 MB / 1.044 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006584/0.372, allocations: 0.5805 MB / 1.044 GB, free: 2.348 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007881/0.3728, allocations: 486.9 kB / 1.045 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.5224/0.8952, allocations: 3.181 MB / 1.048 GB, free: 57.74 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.8952, allocations: 0 / 1.048 GB, free: 57.74 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8952, allocations: 0 / 1.048 GB, free: 57.74 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.8952, allocations: 0 / 1.048 GB, free: 57.74 MB / 0.9948 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.002245/0.8975, allocations: 1.924 MB / 1.05 GB, free: 56.92 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8975, allocations: 8.781 kB / 1.05 GB, free: 56.92 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.8992, allocations: 0.5329 MB / 1.05 GB, free: 56.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.9006, allocations: 0.9433 MB / 1.051 GB, free: 56.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.9006, allocations: 74.59 kB / 1.051 GB, free: 56.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.9007, allocations: 110 kB / 1.051 GB, free: 56.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.9022, allocations: 1.596 MB / 1.053 GB, free: 55.55 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.9022, allocations: 6.031 kB / 1.053 GB, free: 55.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.9023, allocations: 46.12 kB / 1.053 GB, free: 55.55 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/0.9024, allocations: 60.61 kB / 1.053 GB, free: 55.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.9032, allocations: 493.7 kB / 1.053 GB, free: 55.55 MB / 0.9948 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.004812/0.908, allocations: 5.967 MB / 1.059 GB, free: 51.82 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.9084, allocations: 271.1 kB / 1.059 GB, free: 51.68 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.9086, allocations: 141.8 kB / 1.06 GB, free: 51.63 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.909, allocations: 114.2 kB / 1.06 GB, free: 51.63 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.909, allocations: 43.22 kB / 1.06 GB, free: 51.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.909, allocations: 3.438 kB / 1.06 GB, free: 51.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28): time 0.0009954/0.91, allocations: 432.4 kB / 1.06 GB, free: 51.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.9101, allocations: 136.9 kB / 1.06 GB, free: 51.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.9109, allocations: 0.8932 MB / 1.061 GB, free: 51.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.9109, allocations: 36.58 kB / 1.061 GB, free: 51.13 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.9112, allocations: 0.7095 MB / 1.062 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.9113, allocations: 107.4 kB / 1.062 GB, free: 50.74 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.9114, allocations: 85.28 kB / 1.062 GB, free: 50.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.9115, allocations: 0.4927 MB / 1.063 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.9116, allocations: 98.34 kB / 1.063 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.9119, allocations: 395.8 kB / 1.063 GB, free: 49.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.9122, allocations: 322.2 kB / 1.063 GB, free: 49.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9122, allocations: 7.125 kB / 1.063 GB, free: 49.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004922/0.9127, allocations: 390.7 kB / 1.064 GB, free: 49.69 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9127, allocations: 8.812 kB / 1.064 GB, free: 49.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9127, allocations: 3.969 kB / 1.064 GB, free: 49.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9127, allocations: 5.969 kB / 1.064 GB, free: 49.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.913, allocations: 62.72 kB / 1.064 GB, free: 49.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.913, allocations: 8.594 kB / 1.064 GB, free: 49.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.9132, allocations: 23.19 kB / 1.064 GB, free: 49.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.9133, allocations: 24.83 kB / 1.064 GB, free: 49.67 MB / 0.9948 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.0002516/0.9135, allocations: 265.7 kB / 1.064 GB, free: 49.51 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.9137, allocations: 92.8 kB / 1.064 GB, free: 49.46 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.914, allocations: 216.9 kB / 1.064 GB, free: 49.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9141, allocations: 2.781 kB / 1.064 GB, free: 49.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9141, allocations: 4.969 kB / 1.064 GB, free: 49.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9141, allocations: 2.875 kB / 1.064 GB, free: 49.39 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.9168, allocations: 2.237 MB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9168, allocations: 10.81 kB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.917, allocations: 48.72 kB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.917, allocations: 8.688 kB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.917, allocations: 16.5 kB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.917, allocations: 11.59 kB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.917, allocations: 11 kB / 1.067 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.9175, allocations: 0.5237 MB / 1.067 GB, free: 47.99 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.9177, allocations: 116.1 kB / 1.067 GB, free: 47.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.9178, allocations: 14.55 kB / 1.067 GB, free: 47.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.9181, allocations: 13.44 kB / 1.067 GB, free: 47.95 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.9182, allocations: 41 kB / 1.067 GB, free: 47.94 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.9183, allocations: 14.78 kB / 1.067 GB, free: 47.94 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008415/0.9191, allocations: 0.575 MB / 1.068 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-07/0.9191, allocations: 0.875 kB / 1.068 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001152/0.9203, allocations: 411.4 kB / 1.068 GB, free: 47.7 MB / 0.9948 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.001434/0.9217, allocations: 0.6187 MB / 1.069 GB, free: 47.58 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.9222, allocations: 252 kB / 1.069 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9222, allocations: 6.125 kB / 1.069 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.9223, allocations: 121.4 kB / 1.069 GB, free: 47.55 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.9243, allocations: 0.494 MB / 1.07 GB, free: 47.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.9266, allocations: 1.921 MB / 1.072 GB, free: 46.42 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.9271, allocations: 0.5724 MB / 1.072 GB, free: 46.31 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004504/0.9275, allocations: 164.3 kB / 1.072 GB, free: 46.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.9276, allocations: 54.59 kB / 1.072 GB, free: 46.28 MB / 0.9948 GB Notification: Performance of SimCode: time 1.663e-06/0.9276, allocations: 0 / 1.072 GB, free: 46.28 MB / 0.9948 GB Notification: Performance of Templates: time 0.03401/0.9617, allocations: 18.39 MB / 1.09 GB, free: 44.48 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.876457649981603]