Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001743/0.001743, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00194/0.00194, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.25 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2916, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.826/1.118, allocations: 214.1 MB / 1.236 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01498/1.133, allocations: 12.17 MB / 1.248 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/1.134, allocations: 43.69 kB / 1.248 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/1.136, allocations: 0.508 MB / 1.248 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004729/1.141, allocations: 1.874 MB / 1.25 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004758/1.145, allocations: 1.907 MB / 1.252 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003283/1.149, allocations: 2.34 MB / 1.254 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/1.15, allocations: 1.237 MB / 1.255 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/1.152, allocations: 0.821 MB / 1.256 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007324/1.152, allocations: 0.6612 MB / 1.257 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/1.153, allocations: 92 kB / 1.257 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005729/1.158, allocations: 2.701 MB / 1.26 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/1.159, allocations: 0.5493 MB / 1.26 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.16, allocations: 0.7308 MB / 1.261 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/1.166, allocations: 3.097 MB / 1.264 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.166, allocations: 0 / 1.264 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/1.166, allocations: 4 kB / 1.264 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.933e-05/1.166, allocations: 0 / 1.264 GB, free: 10.48 MB / 0.9669 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.002359/1.168, allocations: 1.744 MB / 1.266 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.168, allocations: 12.03 kB / 1.266 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.17, allocations: 373.8 kB / 1.266 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.172, allocations: 0.9696 MB / 1.267 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/1.172, allocations: 78.06 kB / 1.267 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/1.172, allocations: 100 kB / 1.267 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.174, allocations: 1.533 MB / 1.269 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.174, allocations: 7.875 kB / 1.269 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.053e-05/1.174, allocations: 44 kB / 1.269 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/1.174, allocations: 65.48 kB / 1.269 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.175, allocations: 1.026 MB / 1.27 GB, free: 4.324 MB / 0.9669 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.005988/1.181, allocations: 5.844 MB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/1.182, allocations: 326.2 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/1.182, allocations: 243.4 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/1.183, allocations: 0.7078 MB / 1.277 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.183, allocations: 42.5 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/1.183, allocations: 0 / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.001284/1.184, allocations: 0.6733 MB / 1.277 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.184, allocations: 136.5 kB / 1.277 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/1.186, allocations: 1.682 MB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/1.186, allocations: 33.7 kB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/1.187, allocations: 0.5583 MB / 1.28 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/1.187, allocations: 94.64 kB / 1.28 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/1.187, allocations: 69.62 kB / 1.28 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.187, allocations: 318 kB / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/1.187, allocations: 155.9 kB / 1.28 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/1.188, allocations: 269.5 kB / 1.28 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/1.188, allocations: 412.8 kB / 1.281 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.188, allocations: 8 kB / 1.281 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007264/1.189, allocations: 0.5347 MB / 1.281 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.189, allocations: 8 kB / 1.281 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.189, allocations: 4.062 kB / 1.281 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.189, allocations: 4 kB / 1.281 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/1.189, allocations: 55.92 kB / 1.281 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.189, allocations: 7.938 kB / 1.281 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/1.19, allocations: 118.6 kB / 1.282 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/1.19, allocations: 16 kB / 1.282 GB, free: 7.395 MB / 0.9825 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.0004643/1.19, allocations: 385.5 kB / 1.282 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.191, allocations: 134.3 kB / 1.282 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005702/1.191, allocations: 385.8 kB / 1.282 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.191, allocations: 8.031 kB / 1.282 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.191, allocations: 7.969 kB / 1.282 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/1.191, allocations: 7.938 kB / 1.282 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/1.195, allocations: 2.509 MB / 1.285 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.195, allocations: 12.75 kB / 1.285 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/1.195, allocations: 55.84 kB / 1.285 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/1.195, allocations: 12 kB / 1.285 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/1.195, allocations: 12 kB / 1.285 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.195, allocations: 4 kB / 1.285 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.195, allocations: 11.94 kB / 1.285 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/1.196, allocations: 0.6281 MB / 1.286 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/1.196, allocations: 295.2 kB / 1.286 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.197, allocations: 19.92 kB / 1.286 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/1.197, allocations: 8 kB / 1.286 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/1.197, allocations: 39.84 kB / 1.286 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.197, allocations: 16 kB / 1.286 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001488/1.198, allocations: 1.223 MB / 1.287 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.198, allocations: 0 / 1.287 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001052/1.2, allocations: 327.8 kB / 1.288 GB, free: 1.004 MB / 0.9825 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.001439/1.201, allocations: 0.6068 MB / 1.288 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005322/1.202, allocations: 359.4 kB / 1.288 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.202, allocations: 0 / 1.288 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/1.202, allocations: 161.5 kB / 1.289 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.205, allocations: 0.918 MB / 1.29 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/1.208, allocations: 2.102 MB / 1.292 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/1.209, allocations: 1.216 MB / 1.293 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007694/1.209, allocations: 294.7 kB / 1.293 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/1.21, allocations: 83.42 kB / 1.293 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.21, allocations: 0 / 1.293 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.04934/1.259, allocations: 30.82 MB / 1.323 GB, free: 12.65 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches