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.001315/0.001315, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001394/0.001394, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.72 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2802, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6959/0.9762, allocations: 214.1 MB / 1.236 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.9911, allocations: 12.19 MB / 1.248 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.993, allocations: 43.69 kB / 1.248 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.9948, allocations: 0.5002 MB / 1.248 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.9994, allocations: 1.878 MB / 1.25 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/1.004, allocations: 1.907 MB / 1.252 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002756/1.007, allocations: 2.34 MB / 1.254 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.008, allocations: 1.234 MB / 1.255 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/1.01, allocations: 0.8327 MB / 1.256 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/1.01, allocations: 0.6496 MB / 1.257 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/1.011, allocations: 92 kB / 1.257 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/1.016, allocations: 2.708 MB / 1.26 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/1.017, allocations: 0.5415 MB / 1.26 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/1.017, allocations: 0.7386 MB / 1.261 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004597/1.022, allocations: 3.105 MB / 1.264 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.022, allocations: 0 / 1.264 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/1.022, allocations: 3.938 kB / 1.264 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.995e-05/1.022, allocations: 0 / 1.264 GB, free: 10.45 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.002233/1.024, allocations: 1.738 MB / 1.266 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.024, allocations: 8.75 kB / 1.266 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.026, allocations: 377.8 kB / 1.266 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/1.028, allocations: 0.9657 MB / 1.267 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/1.028, allocations: 78.06 kB / 1.267 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.028, allocations: 104 kB / 1.267 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/1.03, allocations: 1.529 MB / 1.269 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/1.03, allocations: 3.938 kB / 1.269 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.03, allocations: 48 kB / 1.269 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/1.03, allocations: 57.48 kB / 1.269 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/1.032, allocations: 1.029 MB / 1.27 GB, free: 4.309 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.006423/1.038, allocations: 5.848 MB / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/1.039, allocations: 318.2 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/1.039, allocations: 255.3 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007513/1.04, allocations: 0.7039 MB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.04, allocations: 42.81 kB / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/1.04, allocations: 0 / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.001357/1.041, allocations: 0.6791 MB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/1.041, allocations: 136.5 kB / 1.277 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.043, allocations: 1.682 MB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/1.043, allocations: 33.7 kB / 1.279 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/1.044, allocations: 0.5583 MB / 1.28 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/1.044, allocations: 94.64 kB / 1.28 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.044, allocations: 65.61 kB / 1.28 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.044, allocations: 318 kB / 1.28 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.044, allocations: 155.9 kB / 1.28 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/1.045, allocations: 277.4 kB / 1.28 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/1.045, allocations: 410.8 kB / 1.281 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.045, allocations: 0 / 1.281 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007591/1.046, allocations: 0.5386 MB / 1.281 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.046, allocations: 8 kB / 1.281 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.046, allocations: 4 kB / 1.281 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/1.046, allocations: 0 / 1.281 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/1.046, allocations: 55.91 kB / 1.281 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.046, allocations: 7.938 kB / 1.281 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/1.047, allocations: 110.4 kB / 1.282 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/1.047, allocations: 28.7 kB / 1.282 GB, free: 7.371 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.0004523/1.047, allocations: 381.8 kB / 1.282 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/1.048, allocations: 146.2 kB / 1.282 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/1.048, allocations: 380.7 kB / 1.282 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.048, allocations: 4 kB / 1.282 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.048, allocations: 3.938 kB / 1.282 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.048, allocations: 4 kB / 1.282 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/1.052, allocations: 2.517 MB / 1.285 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/1.052, allocations: 11.94 kB / 1.285 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/1.052, allocations: 47.92 kB / 1.285 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.052, allocations: 4 kB / 1.285 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/1.052, allocations: 16.66 kB / 1.285 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/1.052, allocations: 15.92 kB / 1.285 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.052, allocations: 11.94 kB / 1.285 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/1.053, allocations: 0.6242 MB / 1.286 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/1.053, allocations: 295.2 kB / 1.286 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.053, allocations: 15.94 kB / 1.286 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/1.054, allocations: 16.06 kB / 1.286 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/1.054, allocations: 35.94 kB / 1.286 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/1.054, allocations: 23.98 kB / 1.286 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001479/1.055, allocations: 1.223 MB / 1.287 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.055, allocations: 0 / 1.287 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009433/1.056, allocations: 327.8 kB / 1.288 GB, free: 0.9766 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.001402/1.058, allocations: 0.6019 MB / 1.288 GB, free: 380 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000571/1.058, allocations: 359.5 kB / 1.288 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.058, allocations: 0 / 1.288 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.058, allocations: 157.1 kB / 1.289 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.062, allocations: 0.9272 MB / 1.29 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/1.065, allocations: 2.11 MB / 1.292 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/1.066, allocations: 1.201 MB / 1.293 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008926/1.067, allocations: 302.7 kB / 1.293 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/1.067, allocations: 79.44 kB / 1.293 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.067, allocations: 0 / 1.293 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.04821/1.115, allocations: 30.82 MB / 1.323 GB, free: 12.63 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 gbode -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