Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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.002017/0.002017, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002611/0.002611, allocations: 211.2 kB / 22.99 MB, free: 4.984 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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.Boundary") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 69.64 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2831/0.6489, allocations: 225.4 MB / 1.547 GB, free: 14.8 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02855/0.6774, allocations: 19.07 MB / 1.566 GB, free: 11.68 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.681, allocations: 110.9 kB / 1.566 GB, free: 11.57 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.6842, allocations: 0.8571 MB / 1.567 GB, free: 10.7 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.6932, allocations: 2.971 MB / 1.57 GB, free: 7.719 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007526/0.7007, allocations: 2.852 MB / 1.572 GB, free: 4.875 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006087/0.7068, allocations: 3.862 MB / 1.576 GB, free: 0.9961 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.7087, allocations: 0.9142 MB / 1.577 GB, free: 48 kB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.7199, allocations: 5.082 MB / 1.582 GB, free: 10.95 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.7221, allocations: 1.058 MB / 1.583 GB, free: 9.891 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.7224, allocations: 108 kB / 1.583 GB, free: 9.785 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007425/0.7299, allocations: 2.934 MB / 1.586 GB, free: 6.844 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0009364/0.7308, allocations: 0.6658 MB / 1.587 GB, free: 6.176 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.7321, allocations: 0.7736 MB / 1.587 GB, free: 5.398 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.008506/0.7406, allocations: 4.096 MB / 1.591 GB, free: 1.289 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7406, allocations: 0 / 1.591 GB, free: 1.289 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7406, allocations: 4 kB / 1.591 GB, free: 1.285 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.437e-05/0.7406, allocations: 0 / 1.591 GB, free: 1.285 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.00381/0.7444, allocations: 2.284 MB / 1.594 GB, free: 14.96 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7445, allocations: 16.02 kB / 1.594 GB, free: 14.95 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.7468, allocations: 490.2 kB / 1.594 GB, free: 14.46 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.7493, allocations: 1.321 MB / 1.595 GB, free: 13.1 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.672e-05/0.7494, allocations: 94.44 kB / 1.596 GB, free: 13 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.7496, allocations: 120 kB / 1.596 GB, free: 12.89 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.7524, allocations: 1.715 MB / 1.597 GB, free: 11.03 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.7524, allocations: 7.938 kB / 1.597 GB, free: 11.02 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.7525, allocations: 55.98 kB / 1.597 GB, free: 10.97 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.7527, allocations: 71.66 kB / 1.597 GB, free: 10.9 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.7546, allocations: 1.225 MB / 1.599 GB, free: 9.676 MB / 1.295 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.007905/0.7625, allocations: 5.832 MB / 1.604 GB, free: 3.672 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.7636, allocations: 0.6304 MB / 1.605 GB, free: 2.949 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.7643, allocations: 0.5835 MB / 1.606 GB, free: 2.336 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009063/0.7652, allocations: 235.8 kB / 1.606 GB, free: 2.105 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.7653, allocations: 50.5 kB / 1.606 GB, free: 2.047 MB / 1.295 GB Notification: Performance of pre-optimization done (n=72): time 3.006e-06/0.7653, allocations: 0 / 1.606 GB, free: 2.047 MB / 1.295 GB Notification: Performance of matching and sorting (n=72): time 0.002597/0.7679, allocations: 1.346 MB / 1.607 GB, free: 0.6953 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/0.7681, allocations: 298.7 kB / 1.607 GB, free: 344 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7382/1.506, allocations: 1.002 MB / 1.608 GB, free: 281.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/1.506, allocations: 41.3 kB / 1.608 GB, free: 281.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000537/1.507, allocations: 0.7559 MB / 1.609 GB, free: 281.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.507, allocations: 253.7 kB / 1.609 GB, free: 281 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/1.507, allocations: 135.3 kB / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/1.507, allocations: 332.5 kB / 1.61 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/1.508, allocations: 329.6 kB / 1.61 GB, free: 280.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/1.509, allocations: 0.9906 MB / 1.611 GB, free: 280 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.51, allocations: 0.8588 MB / 1.612 GB, free: 279.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.51, allocations: 0.9688 kB / 1.612 GB, free: 279.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001418/1.511, allocations: 0.9709 MB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.511, allocations: 6.656 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.511, allocations: 7.25 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.511, allocations: 6.219 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/1.512, allocations: 120.9 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.512, allocations: 10.27 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/1.512, allocations: 47.55 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/1.512, allocations: 47.69 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.000644/1.513, allocations: 460.7 kB / 1.614 GB, free: 278.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/1.513, allocations: 137.9 kB / 1.614 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/1.515, allocations: 1.04 MB / 1.615 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/1.515, allocations: 12.89 kB / 1.615 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.515, allocations: 3.438 kB / 1.615 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.515, allocations: 6.891 kB / 1.615 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.526, allocations: 7.576 MB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.526, allocations: 15.41 kB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.527, allocations: 148.8 kB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.969e-05/1.527, allocations: 20.16 kB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/1.527, allocations: 39.73 kB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-05/1.527, allocations: 27.73 kB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.941e-05/1.527, allocations: 25.7 kB / 1.622 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/1.53, allocations: 1.629 MB / 1.624 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007105/1.53, allocations: 248.7 kB / 1.624 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/1.53, allocations: 37.59 kB / 1.624 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/1.531, allocations: 23.38 kB / 1.624 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.531, allocations: 110.5 kB / 1.624 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/1.531, allocations: 54.56 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009818/1.532, allocations: 0.6891 MB / 1.625 GB, free: 273.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.532, allocations: 0 / 1.625 GB, free: 273.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002023/1.534, allocations: 0.5925 MB / 1.626 GB, free: 273.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002162/1.536, allocations: 0.9217 MB / 1.627 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001412/1.538, allocations: 0.834 MB / 1.627 GB, free: 272.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.538, allocations: 2.625 kB / 1.627 GB, free: 272.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/1.538, allocations: 475.7 kB / 1.628 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.542, allocations: 0.8364 MB / 1.629 GB, free: 272.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/1.547, allocations: 3.134 MB / 1.632 GB, free: 270.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.548, allocations: 0.8281 MB / 1.633 GB, free: 270.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001669/1.55, allocations: 371.3 kB / 1.633 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/1.55, allocations: 92.91 kB / 1.633 GB, free: 270.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.283e-06/1.55, allocations: 0 / 1.633 GB, free: 270.1 MB / 1.295 GB Notification: Performance of Templates: time 0.04583/1.596, allocations: 34.57 MB / 1.667 GB, free: 244.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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: 11.442832212997018]