Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 115.2 kB / 16.37 MB, free: 5.984 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.001162/0.001162, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 69 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.304, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.8114/1.115, allocations: 253.3 MB / 1.274 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02572/1.141, allocations: 20.59 MB / 1.294 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/1.144, allocations: 75.44 kB / 1.294 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/1.146, allocations: 0.8376 MB / 1.295 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007178/1.153, allocations: 2.909 MB / 1.298 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006414/1.16, allocations: 2.756 MB / 1.301 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005311/1.165, allocations: 3.816 MB / 1.304 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/1.167, allocations: 1.3 MB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/1.17, allocations: 1.429 MB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.172, allocations: 0.9876 MB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/1.172, allocations: 112 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008382/1.18, allocations: 3.947 MB / 1.312 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008999/1.181, allocations: 0.6543 MB / 1.313 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/1.183, allocations: 0.9717 MB / 1.314 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008297/1.191, allocations: 4.149 MB / 1.318 GB, free: 3.344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.191, allocations: 0 / 1.318 GB, free: 3.344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.191, allocations: 0 / 1.318 GB, free: 3.344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.928e-05/1.191, allocations: 0 / 1.318 GB, free: 3.344 MB / 1.014 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.003873/1.195, allocations: 2.295 MB / 1.32 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.195, allocations: 8.031 kB / 1.32 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/1.197, allocations: 485 kB / 1.32 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/1.2, allocations: 1.384 MB / 1.322 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/1.2, allocations: 98.44 kB / 1.322 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.2, allocations: 120 kB / 1.322 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.203, allocations: 1.723 MB / 1.324 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/1.203, allocations: 7.922 kB / 1.324 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/1.203, allocations: 52 kB / 1.324 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/1.203, allocations: 63.73 kB / 1.324 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/1.205, allocations: 1.228 MB / 1.325 GB, free: 11.64 MB / 1.029 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.007598/1.212, allocations: 7.521 MB / 1.332 GB, free: 3.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/1.213, allocations: 0.6737 MB / 1.333 GB, free: 2.965 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/1.214, allocations: 0.6096 MB / 1.333 GB, free: 2.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/1.216, allocations: 1.872 MB / 1.335 GB, free: 48 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/1.216, allocations: 50.55 kB / 1.335 GB, free: 15.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.946e-06/1.216, allocations: 0 / 1.335 GB, free: 15.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=72): time 0.002382/1.218, allocations: 1.395 MB / 1.337 GB, free: 14.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.218, allocations: 298.7 kB / 1.337 GB, free: 14.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.221, allocations: 1.884 MB / 1.339 GB, free: 12.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/1.221, allocations: 45.7 kB / 1.339 GB, free: 12.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/1.221, allocations: 0.7213 MB / 1.34 GB, free: 11.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/1.221, allocations: 248.3 kB / 1.34 GB, free: 11.28 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/1.222, allocations: 134.2 kB / 1.34 GB, free: 11.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.222, allocations: 337.9 kB / 1.34 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/1.222, allocations: 325.1 kB / 1.341 GB, free: 10.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/1.223, allocations: 0.569 MB / 1.341 GB, free: 9.875 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/1.224, allocations: 0.8608 MB / 1.342 GB, free: 8.965 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.224, allocations: 0 / 1.342 GB, free: 8.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001444/1.225, allocations: 1.014 MB / 1.343 GB, free: 7.941 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.225, allocations: 8 kB / 1.343 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.225, allocations: 128 / 1.343 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.225, allocations: 12 kB / 1.343 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/1.226, allocations: 119.8 kB / 1.343 GB, free: 7.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.226, allocations: 19.86 kB / 1.343 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/1.227, allocations: 118.5 kB / 1.343 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/1.227, allocations: 43.98 kB / 1.343 GB, free: 7.625 MB / 1.045 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.0006574/1.227, allocations: 465.4 kB / 1.344 GB, free: 7.16 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/1.228, allocations: 189.6 kB / 1.344 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.229, allocations: 1.091 MB / 1.345 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.229, allocations: 12 kB / 1.345 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.229, allocations: 0 / 1.345 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.229, allocations: 15.86 kB / 1.345 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.241, allocations: 8.757 MB / 1.354 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.241, allocations: 12 kB / 1.354 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/1.241, allocations: 143.8 kB / 1.354 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/1.241, allocations: 20 kB / 1.354 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/1.241, allocations: 36 kB / 1.354 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-05/1.241, allocations: 35.8 kB / 1.354 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/1.241, allocations: 23.88 kB / 1.354 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.243, allocations: 1.668 MB / 1.355 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008001/1.244, allocations: 418.3 kB / 1.356 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.244, allocations: 36.02 kB / 1.356 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/1.245, allocations: 31.94 kB / 1.356 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.245, allocations: 103.5 kB / 1.356 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/1.245, allocations: 52 kB / 1.356 GB, free: 9.777 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001712/1.247, allocations: 1.324 MB / 1.357 GB, free: 8.434 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.81e-07/1.247, allocations: 0 / 1.357 GB, free: 8.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001568/1.248, allocations: 0.5152 MB / 1.358 GB, free: 7.918 MB / 1.061 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.00197/1.25, allocations: 0.9253 MB / 1.359 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00118/1.252, allocations: 0.8521 MB / 1.36 GB, free: 6.145 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.252, allocations: 4 kB / 1.36 GB, free: 6.141 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005849/1.252, allocations: 491.1 kB / 1.36 GB, free: 5.664 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00524/1.257, allocations: 1.337 MB / 1.361 GB, free: 4.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/1.261, allocations: 3.23 MB / 1.364 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009869/1.262, allocations: 1.41 MB / 1.366 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001205/1.263, allocations: 486.6 kB / 1.366 GB, free: 14.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/1.264, allocations: 119.4 kB / 1.366 GB, free: 14.86 MB / 1.076 GB Notification: Performance of SimCode: time 6.02e-07/1.264, allocations: 0 / 1.366 GB, free: 14.86 MB / 1.076 GB Notification: Performance of Templates: time 0.06372/1.327, allocations: 42.45 MB / 1.408 GB, free: 4.816 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches