Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.001495/0.001495, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00164/0.00164, allocations: 216.9 kB / 23.01 MB, free: 4.566 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 8.02 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 2.939/2.939, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.BoundaryWithX_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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in") [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.001905/0.001905, allocations: 70.92 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2985, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2335/0.532, allocations: 218.3 MB / 1.54 GB, free: 6.336 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.5474, allocations: 12.29 MB / 1.552 GB, free: 10.02 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.5487, allocations: 63.38 kB / 1.552 GB, free: 9.953 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.55, allocations: 0.5196 MB / 1.553 GB, free: 9.43 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.5545, allocations: 1.984 MB / 1.555 GB, free: 7.438 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.5588, allocations: 2.021 MB / 1.557 GB, free: 5.422 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.5618, allocations: 2.395 MB / 1.559 GB, free: 3.016 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.563, allocations: 0.8618 MB / 1.56 GB, free: 2.129 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/0.5691, allocations: 3.135 MB / 1.563 GB, free: 14.98 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.5701, allocations: 0.6963 MB / 1.564 GB, free: 14.29 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.5703, allocations: 95.94 kB / 1.564 GB, free: 14.19 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.575, allocations: 2.654 MB / 1.566 GB, free: 11.53 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.5755, allocations: 0.5531 MB / 1.567 GB, free: 10.98 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007451/0.5762, allocations: 0.727 MB / 1.568 GB, free: 10.25 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.5806, allocations: 3.142 MB / 1.571 GB, free: 7.094 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5806, allocations: 0 / 1.571 GB, free: 7.094 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5806, allocations: 0 / 1.571 GB, free: 7.094 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.5806, allocations: 0 / 1.571 GB, free: 7.094 MB / 1.264 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.002305/0.5829, allocations: 1.717 MB / 1.572 GB, free: 5.336 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.583, allocations: 8.031 kB / 1.572 GB, free: 5.328 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.5845, allocations: 378.7 kB / 1.573 GB, free: 4.957 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.5861, allocations: 0.9062 MB / 1.574 GB, free: 4.02 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.5862, allocations: 82.06 kB / 1.574 GB, free: 3.938 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5863, allocations: 107.9 kB / 1.574 GB, free: 3.832 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5884, allocations: 1.525 MB / 1.575 GB, free: 2.199 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5884, allocations: 11.94 kB / 1.575 GB, free: 2.188 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.5885, allocations: 44 kB / 1.575 GB, free: 2.145 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-05/0.5886, allocations: 61.58 kB / 1.575 GB, free: 2.086 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.59, allocations: 1.021 MB / 1.576 GB, free: 1.062 MB / 1.264 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.006025/0.596, allocations: 5.661 MB / 1.582 GB, free: 11.13 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.5966, allocations: 302.2 kB / 1.582 GB, free: 10.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.5969, allocations: 243.3 kB / 1.582 GB, free: 10.55 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.5973, allocations: 115.8 kB / 1.583 GB, free: 10.44 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.5973, allocations: 42.56 kB / 1.583 GB, free: 10.39 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.5973, allocations: 0 / 1.583 GB, free: 10.39 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001277/0.5986, allocations: 0.6802 MB / 1.583 GB, free: 9.699 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.5987, allocations: 136.6 kB / 1.583 GB, free: 9.535 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.6007, allocations: 1.682 MB / 1.585 GB, free: 7.844 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.6007, allocations: 37.7 kB / 1.585 GB, free: 7.801 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/0.6012, allocations: 0.5546 MB / 1.586 GB, free: 7.242 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.6013, allocations: 103.1 kB / 1.586 GB, free: 7.141 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.6014, allocations: 65.69 kB / 1.586 GB, free: 7.07 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6016, allocations: 318 kB / 1.586 GB, free: 6.754 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.6018, allocations: 151.9 kB / 1.586 GB, free: 6.605 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.6021, allocations: 276.4 kB / 1.587 GB, free: 6.305 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.6026, allocations: 404.3 kB / 1.587 GB, free: 5.879 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6026, allocations: 0 / 1.587 GB, free: 5.879 MB / 1.279 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007441/0.6033, allocations: 0.5479 MB / 1.587 GB, free: 5.324 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6034, allocations: 12.19 kB / 1.587 GB, free: 5.312 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6034, allocations: 4 kB / 1.587 GB, free: 5.309 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6034, allocations: 4 kB / 1.587 GB, free: 5.305 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.6036, allocations: 47.92 kB / 1.588 GB, free: 5.258 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6036, allocations: 15.86 kB / 1.588 GB, free: 5.242 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.6041, allocations: 115 kB / 1.588 GB, free: 5.129 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.6041, allocations: 23.98 kB / 1.588 GB, free: 5.105 MB / 1.279 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.0004385/0.6046, allocations: 377.6 kB / 1.588 GB, free: 4.727 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.6048, allocations: 151.1 kB / 1.588 GB, free: 4.578 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.6053, allocations: 389.2 kB / 1.589 GB, free: 4.176 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6053, allocations: 4 kB / 1.589 GB, free: 4.172 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.6054, allocations: 4.031 kB / 1.589 GB, free: 4.168 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6054, allocations: 7.984 kB / 1.589 GB, free: 4.16 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.6086, allocations: 2.343 MB / 1.591 GB, free: 1.68 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6086, allocations: 8 kB / 1.591 GB, free: 1.672 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.6088, allocations: 47.91 kB / 1.591 GB, free: 1.625 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.6088, allocations: 8 kB / 1.591 GB, free: 1.617 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6088, allocations: 12 kB / 1.591 GB, free: 1.605 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6088, allocations: 11.94 kB / 1.591 GB, free: 1.594 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6089, allocations: 11.94 kB / 1.591 GB, free: 1.582 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.6096, allocations: 0.6351 MB / 1.592 GB, free: 0.8477 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.61, allocations: 230.9 kB / 1.592 GB, free: 0.6211 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.6102, allocations: 12 kB / 1.592 GB, free: 0.6094 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.6105, allocations: 12 kB / 1.592 GB, free: 0.5977 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.6105, allocations: 35.83 kB / 1.592 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.6106, allocations: 20 kB / 1.592 GB, free: 0.543 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001471/0.612, allocations: 1.223 MB / 1.593 GB, free: 15.32 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.612, allocations: 0 / 1.593 GB, free: 15.32 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008999/0.6129, allocations: 335.4 kB / 1.593 GB, free: 15 MB / 1.295 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.001231/0.6142, allocations: 0.5918 MB / 1.594 GB, free: 14.39 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.6147, allocations: 345.5 kB / 1.594 GB, free: 14.06 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6147, allocations: 0 / 1.594 GB, free: 14.06 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.6149, allocations: 160 kB / 1.594 GB, free: 13.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.6183, allocations: 0.931 MB / 1.595 GB, free: 13 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.6212, allocations: 2.207 MB / 1.597 GB, free: 10.68 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008728/0.622, allocations: 1.201 MB / 1.599 GB, free: 9.445 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.6222, allocations: 83.42 kB / 1.599 GB, free: 9.363 MB / 1.295 GB Notification: Performance of SimCode: time 6.62e-07/0.6222, allocations: 4 kB / 1.599 GB, free: 9.359 MB / 1.295 GB Notification: Performance of Templates: time 0.6291/1.251, allocations: 25.03 MB / 1.623 GB, free: 275 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_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: 15.872973635006929]