Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.001412/0.001412, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 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.353/2.353, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9271/0.9287, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2786/1.207, allocations: 214.1 MB / 1.298 GB, free: 7.473 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01811/1.225, allocations: 12.16 MB / 1.31 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/1.228, allocations: 43.69 kB / 1.31 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/1.23, allocations: 0.5079 MB / 1.31 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006112/1.236, allocations: 1.876 MB / 1.312 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00559/1.242, allocations: 1.911 MB / 1.314 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003881/1.245, allocations: 2.348 MB / 1.316 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002912/1.248, allocations: 1.24 MB / 1.317 GB, free: 3.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/1.251, allocations: 0.8249 MB / 1.318 GB, free: 2.484 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/1.253, allocations: 0.6612 MB / 1.319 GB, free: 1.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004824/1.254, allocations: 92 kB / 1.319 GB, free: 1.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00733/1.261, allocations: 2.704 MB / 1.321 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008417/1.262, allocations: 0.5415 MB / 1.322 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/1.264, allocations: 0.7386 MB / 1.323 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007223/1.271, allocations: 3.112 MB / 1.326 GB, free: 10.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.271, allocations: 0 / 1.326 GB, free: 10.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.354e-06/1.271, allocations: 0 / 1.326 GB, free: 10.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001025/1.271, allocations: 0 / 1.326 GB, free: 10.61 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004052/1.275, allocations: 1.737 MB / 1.327 GB, free: 8.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.275, allocations: 8.031 kB / 1.327 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.277, allocations: 377.7 kB / 1.328 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/1.279, allocations: 0.9619 MB / 1.329 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/1.279, allocations: 82.05 kB / 1.329 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.279, allocations: 100 kB / 1.329 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/1.282, allocations: 1.535 MB / 1.33 GB, free: 5.613 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.282, allocations: 0 / 1.33 GB, free: 5.613 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.282, allocations: 52 kB / 1.33 GB, free: 5.562 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.728e-05/1.282, allocations: 61.47 kB / 1.331 GB, free: 5.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.283, allocations: 1.025 MB / 1.332 GB, free: 4.473 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.007063/1.291, allocations: 5.848 MB / 1.337 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/1.291, allocations: 318.2 kB / 1.338 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/1.291, allocations: 247.4 kB / 1.338 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/1.292, allocations: 0.7116 MB / 1.338 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/1.292, allocations: 38.5 kB / 1.339 GB, free: 12.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/1.292, allocations: 0 / 1.339 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001396/1.294, allocations: 0.6722 MB / 1.339 GB, free: 12.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.294, allocations: 132.5 kB / 1.339 GB, free: 11.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/1.296, allocations: 1.686 MB / 1.341 GB, free: 10.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/1.296, allocations: 33.7 kB / 1.341 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/1.297, allocations: 0.5544 MB / 1.342 GB, free: 9.672 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/1.297, allocations: 98.77 kB / 1.342 GB, free: 9.574 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.297, allocations: 70.09 kB / 1.342 GB, free: 9.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.297, allocations: 318 kB / 1.342 GB, free: 9.184 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/1.297, allocations: 159.8 kB / 1.342 GB, free: 9.027 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/1.298, allocations: 273.9 kB / 1.342 GB, free: 8.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/1.298, allocations: 412.3 kB / 1.343 GB, free: 8.297 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.298, allocations: 3.938 kB / 1.343 GB, free: 8.293 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000825/1.299, allocations: 0.5386 MB / 1.343 GB, free: 7.746 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.299, allocations: 8 kB / 1.343 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/1.299, allocations: 4 kB / 1.343 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.299, allocations: 4 kB / 1.343 GB, free: 7.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/1.299, allocations: 47.92 kB / 1.343 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.299, allocations: 12.06 kB / 1.343 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/1.3, allocations: 114.5 kB / 1.343 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/1.3, allocations: 20 kB / 1.344 GB, free: 7.539 MB / 1.076 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.0005073/1.301, allocations: 381.6 kB / 1.344 GB, free: 7.156 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/1.301, allocations: 138.3 kB / 1.344 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/1.301, allocations: 388.9 kB / 1.344 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.301, allocations: 8 kB / 1.344 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.301, allocations: 3.938 kB / 1.344 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.302, allocations: 8.078 kB / 1.344 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/1.305, allocations: 2.506 MB / 1.347 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.305, allocations: 8 kB / 1.347 GB, free: 3.902 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/1.305, allocations: 55.97 kB / 1.347 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.305, allocations: 8 kB / 1.347 GB, free: 3.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/1.305, allocations: 12 kB / 1.347 GB, free: 3.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.305, allocations: 11.94 kB / 1.347 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.305, allocations: 4 kB / 1.347 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008132/1.306, allocations: 0.6262 MB / 1.348 GB, free: 3.086 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/1.307, allocations: 299.1 kB / 1.348 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/1.307, allocations: 12 kB / 1.348 GB, free: 2.762 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/1.307, allocations: 12 kB / 1.348 GB, free: 2.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/1.307, allocations: 35.84 kB / 1.348 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/1.307, allocations: 20 kB / 1.348 GB, free: 2.695 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00162/1.309, allocations: 1.219 MB / 1.349 GB, free: 1.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.309, allocations: 4 kB / 1.349 GB, free: 1.477 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00118/1.31, allocations: 327.8 kB / 1.349 GB, free: 1.156 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.001723/1.312, allocations: 0.6196 MB / 1.35 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005897/1.313, allocations: 347.5 kB / 1.35 GB, free: 204 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.313, allocations: 0 / 1.35 GB, free: 204 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/1.313, allocations: 160.9 kB / 1.351 GB, free: 44 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/1.317, allocations: 0.9254 MB / 1.351 GB, free: 15.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.32, allocations: 2.166 MB / 1.354 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/1.321, allocations: 1.201 MB / 1.355 GB, free: 11.63 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/1.321, allocations: 91.42 kB / 1.355 GB, free: 11.54 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/1.321, allocations: 0 / 1.355 GB, free: 11.54 MB / 1.092 GB Notification: Performance of Templates: time 0.04228/1.364, allocations: 24.92 MB / 1.379 GB, free: 2.816 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches