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.005514/0.005514, allocations: 101 kB / 15.73 MB, free: 6.039 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.002028/0.002028, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9199/0.9212, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2483/1.169, allocations: 214.1 MB / 1.297 GB, free: 7.574 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01717/1.187, allocations: 12.17 MB / 1.309 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/1.189, allocations: 43.69 kB / 1.309 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/1.19, allocations: 0.508 MB / 1.309 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005948/1.196, allocations: 1.962 MB / 1.311 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/1.202, allocations: 1.931 MB / 1.313 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003829/1.206, allocations: 2.356 MB / 1.315 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/1.208, allocations: 1.24 MB / 1.317 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/1.211, allocations: 0.8327 MB / 1.317 GB, free: 2.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/1.212, allocations: 0.6612 MB / 1.318 GB, free: 1.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/1.212, allocations: 92 kB / 1.318 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00696/1.219, allocations: 2.719 MB / 1.321 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000833/1.22, allocations: 0.5415 MB / 1.321 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/1.222, allocations: 0.7309 MB / 1.322 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006667/1.228, allocations: 3.108 MB / 1.325 GB, free: 10.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.228, allocations: 3.984 kB / 1.325 GB, free: 10.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.228, allocations: 0 / 1.325 GB, free: 10.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.862e-05/1.229, allocations: 0 / 1.325 GB, free: 10.58 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.003866/1.232, allocations: 1.744 MB / 1.327 GB, free: 8.781 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.232, allocations: 12.03 kB / 1.327 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/1.234, allocations: 373.7 kB / 1.327 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.236, allocations: 0.9619 MB / 1.328 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/1.236, allocations: 78 kB / 1.328 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.237, allocations: 100 kB / 1.328 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/1.239, allocations: 1.533 MB / 1.33 GB, free: 5.578 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/1.239, allocations: 11.92 kB / 1.33 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.239, allocations: 44 kB / 1.33 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.9e-05/1.239, allocations: 65.47 kB / 1.33 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/1.241, allocations: 1.017 MB / 1.331 GB, free: 4.438 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.006378/1.247, allocations: 5.852 MB / 1.337 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/1.248, allocations: 322.1 kB / 1.337 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/1.248, allocations: 243.4 kB / 1.337 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006737/1.249, allocations: 0.7116 MB / 1.338 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.249, allocations: 38.56 kB / 1.338 GB, free: 12.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/1.249, allocations: 0 / 1.338 GB, free: 12.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001312/1.25, allocations: 0.6683 MB / 1.339 GB, free: 12.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/1.25, allocations: 140.5 kB / 1.339 GB, free: 11.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/1.252, allocations: 1.686 MB / 1.34 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/1.253, allocations: 29.7 kB / 1.34 GB, free: 10.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/1.253, allocations: 0.5545 MB / 1.341 GB, free: 9.633 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/1.253, allocations: 102.6 kB / 1.341 GB, free: 9.531 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.253, allocations: 70.09 kB / 1.341 GB, free: 9.457 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.253, allocations: 318 kB / 1.341 GB, free: 9.141 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.254, allocations: 163.8 kB / 1.342 GB, free: 8.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.254, allocations: 266 kB / 1.342 GB, free: 8.691 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/1.254, allocations: 412.3 kB / 1.342 GB, free: 8.258 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.254, allocations: 0 / 1.342 GB, free: 8.258 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008099/1.255, allocations: 0.5425 MB / 1.343 GB, free: 7.707 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.255, allocations: 4 kB / 1.343 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.255, allocations: 4 kB / 1.343 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.255, allocations: 4 kB / 1.343 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.255, allocations: 51.92 kB / 1.343 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.256, allocations: 12.12 kB / 1.343 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/1.256, allocations: 110.5 kB / 1.343 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/1.256, allocations: 20 kB / 1.343 GB, free: 7.504 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.0004634/1.257, allocations: 377.6 kB / 1.343 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/1.257, allocations: 138.2 kB / 1.343 GB, free: 6.988 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/1.257, allocations: 393.2 kB / 1.344 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.257, allocations: 7.984 kB / 1.344 GB, free: 6.574 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.257, allocations: 7.938 kB / 1.344 GB, free: 6.566 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.257, allocations: 64 / 1.344 GB, free: 6.566 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/1.261, allocations: 2.514 MB / 1.346 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.261, allocations: 4 kB / 1.346 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.261, allocations: 56 kB / 1.346 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.261, allocations: 8 kB / 1.346 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.261, allocations: 12 kB / 1.346 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/1.261, allocations: 11.94 kB / 1.346 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.261, allocations: 11.94 kB / 1.346 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/1.262, allocations: 0.6239 MB / 1.347 GB, free: 3.047 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/1.262, allocations: 295.1 kB / 1.347 GB, free: 2.738 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.263, allocations: 19.98 kB / 1.347 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/1.263, allocations: 8 kB / 1.347 GB, free: 2.711 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/1.263, allocations: 43.78 kB / 1.347 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/1.263, allocations: 16 kB / 1.347 GB, free: 2.652 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001651/1.265, allocations: 1.223 MB / 1.349 GB, free: 1.434 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.683e-06/1.265, allocations: 0 / 1.349 GB, free: 1.434 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009954/1.266, allocations: 335.7 kB / 1.349 GB, free: 1.105 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.001637/1.267, allocations: 0.6072 MB / 1.349 GB, free: 0.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005713/1.268, allocations: 347.5 kB / 1.35 GB, free: 164 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.268, allocations: 7.938 kB / 1.35 GB, free: 156 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.268, allocations: 156.8 kB / 1.35 GB, free: 0 / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/1.272, allocations: 0.921 MB / 1.351 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/1.275, allocations: 2.098 MB / 1.353 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009229/1.276, allocations: 1.208 MB / 1.354 GB, free: 11.66 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008841/1.277, allocations: 302.7 kB / 1.354 GB, free: 11.36 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.277, allocations: 83.42 kB / 1.354 GB, free: 11.28 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/1.277, allocations: 0 / 1.354 GB, free: 11.28 MB / 1.092 GB Notification: Performance of Templates: time 0.05049/1.328, allocations: 30.97 MB / 1.385 GB, free: 12.68 MB / 1.123 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/jenkins/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