Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001611/0.001612, allocations: 109.1 kB / 15.99 MB, free: 5.914 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.001588/0.001589, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.09 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.785/1.135, allocations: 212 MB / 1.271 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01755/1.153, allocations: 12.16 MB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/1.155, allocations: 51.56 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/1.157, allocations: 437.3 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/1.162, allocations: 1.759 MB / 1.285 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/1.167, allocations: 1.78 MB / 1.287 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003626/1.17, allocations: 2.356 MB / 1.289 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.172, allocations: 1.161 MB / 1.29 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/1.174, allocations: 0.8326 MB / 1.291 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/1.175, allocations: 0.7198 MB / 1.292 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/1.176, allocations: 88 kB / 1.292 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006202/1.182, allocations: 3.273 MB / 1.295 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007029/1.183, allocations: 0.5454 MB / 1.296 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.184, allocations: 0.7347 MB / 1.296 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004636/1.188, allocations: 2.456 MB / 1.299 GB, free: 8.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.188, allocations: 4 kB / 1.299 GB, free: 8.703 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.295e-06/1.188, allocations: 0 / 1.299 GB, free: 8.703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.472e-05/1.188, allocations: 0 / 1.299 GB, free: 8.703 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003059/1.191, allocations: 1.744 MB / 1.301 GB, free: 6.902 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.192, allocations: 11.97 kB / 1.301 GB, free: 6.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/1.193, allocations: 377.8 kB / 1.301 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.195, allocations: 0.8917 MB / 1.302 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/1.195, allocations: 74.06 kB / 1.302 GB, free: 5.508 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.195, allocations: 100 kB / 1.302 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.198, allocations: 1.53 MB / 1.303 GB, free: 3.773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.198, allocations: 4 kB / 1.303 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.198, allocations: 48 kB / 1.303 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/1.198, allocations: 65.47 kB / 1.304 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.199, allocations: 1.021 MB / 1.305 GB, free: 2.637 MB / 1.014 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.007392/1.207, allocations: 5.962 MB / 1.31 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/1.207, allocations: 326.2 kB / 1.311 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/1.208, allocations: 247.3 kB / 1.311 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008077/1.209, allocations: 0.712 MB / 1.312 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.209, allocations: 38.56 kB / 1.312 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/1.209, allocations: 3.938 kB / 1.312 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001435/1.21, allocations: 0.6734 MB / 1.312 GB, free: 10.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/1.21, allocations: 136.5 kB / 1.312 GB, free: 9.996 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.212, allocations: 1.682 MB / 1.314 GB, free: 8.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/1.212, allocations: 33.7 kB / 1.314 GB, free: 8.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/1.213, allocations: 0.5583 MB / 1.315 GB, free: 7.703 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/1.213, allocations: 94.56 kB / 1.315 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.213, allocations: 65.72 kB / 1.315 GB, free: 7.539 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.213, allocations: 318 kB / 1.315 GB, free: 7.223 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/1.214, allocations: 155.9 kB / 1.315 GB, free: 7.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/1.214, allocations: 268.4 kB / 1.315 GB, free: 6.777 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/1.215, allocations: 414.4 kB / 1.316 GB, free: 6.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.215, allocations: 8 kB / 1.316 GB, free: 6.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000849/1.215, allocations: 0.5315 MB / 1.316 GB, free: 5.797 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.215, allocations: 10.66 kB / 1.316 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.215, allocations: 0 / 1.316 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.215, allocations: 4 kB / 1.316 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/1.216, allocations: 55.92 kB / 1.316 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.216, allocations: 7.938 kB / 1.316 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/1.216, allocations: 126.6 kB / 1.317 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/1.216, allocations: 19.98 kB / 1.317 GB, free: 5.578 MB / 1.029 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.0005377/1.217, allocations: 377.6 kB / 1.317 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/1.217, allocations: 138.2 kB / 1.317 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/1.218, allocations: 393.2 kB / 1.317 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.218, allocations: 8 kB / 1.317 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.218, allocations: 0 / 1.317 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.218, allocations: 3.938 kB / 1.317 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/1.222, allocations: 2.611 MB / 1.32 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.222, allocations: 7.938 kB / 1.32 GB, free: 1.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/1.223, allocations: 51.91 kB / 1.32 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/1.223, allocations: 8 kB / 1.32 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/1.223, allocations: 16 kB / 1.32 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/1.223, allocations: 11.94 kB / 1.32 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.223, allocations: 8 kB / 1.32 GB, free: 1.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/1.224, allocations: 0.6188 MB / 1.321 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/1.224, allocations: 299.2 kB / 1.321 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/1.224, allocations: 19.92 kB / 1.321 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/1.225, allocations: 15.91 kB / 1.321 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/1.225, allocations: 39.84 kB / 1.321 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/1.225, allocations: 16 kB / 1.321 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001693/1.227, allocations: 1.227 MB / 1.322 GB, free: 15.4 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.227, allocations: 0 / 1.322 GB, free: 15.4 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00118/1.228, allocations: 335.8 kB / 1.323 GB, free: 15.07 MB / 1.045 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.001821/1.23, allocations: 0.6279 MB / 1.323 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006495/1.23, allocations: 357.2 kB / 1.324 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.23, allocations: 4.375 kB / 1.324 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.23, allocations: 163.6 kB / 1.324 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/1.234, allocations: 0.9196 MB / 1.325 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/1.238, allocations: 2.494 MB / 1.327 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/1.239, allocations: 1.201 MB / 1.328 GB, free: 9.215 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.239, allocations: 87.42 kB / 1.328 GB, free: 9.129 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/1.239, allocations: 0 / 1.328 GB, free: 9.129 MB / 1.045 GB Notification: Performance of Templates: time 0.04015/1.279, allocations: 24.81 MB / 1.353 GB, free: 0.4961 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches