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.009262/0.009262, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.00261/0.00261, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.187/2.187, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 59.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8368, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2664/1.103, allocations: 214.1 MB / 1.297 GB, free: 7.461 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02006/1.123, allocations: 12.16 MB / 1.309 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/1.125, allocations: 43.69 kB / 1.309 GB, free: 11.22 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/1.127, allocations: 0.5158 MB / 1.309 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/1.133, allocations: 1.949 MB / 1.311 GB, free: 8.742 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005133/1.138, allocations: 1.943 MB / 1.313 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003749/1.142, allocations: 2.356 MB / 1.315 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/1.144, allocations: 1.228 MB / 1.317 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/1.146, allocations: 0.8327 MB / 1.317 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/1.147, allocations: 0.6535 MB / 1.318 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003138/1.147, allocations: 92 kB / 1.318 GB, free: 1.613 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00607/1.154, allocations: 2.713 MB / 1.321 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007642/1.154, allocations: 0.5532 MB / 1.321 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/1.156, allocations: 0.7347 MB / 1.322 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006128/1.162, allocations: 3.123 MB / 1.325 GB, free: 10.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.162, allocations: 0 / 1.325 GB, free: 10.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.953e-06/1.162, allocations: 0 / 1.325 GB, free: 10.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.959e-05/1.162, allocations: 0 / 1.325 GB, free: 10.47 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.003103/1.165, allocations: 1.793 MB / 1.327 GB, free: 8.617 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.165, allocations: 12.03 kB / 1.327 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.167, allocations: 386.6 kB / 1.327 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/1.17, allocations: 0.9706 MB / 1.328 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/1.17, allocations: 78.05 kB / 1.328 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/1.17, allocations: 104 kB / 1.328 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/1.173, allocations: 1.532 MB / 1.33 GB, free: 5.391 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/1.173, allocations: 7.938 kB / 1.33 GB, free: 5.383 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/1.173, allocations: 48 kB / 1.33 GB, free: 5.336 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.115e-05/1.173, allocations: 61.48 kB / 1.33 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.175, allocations: 1.025 MB / 1.331 GB, free: 4.246 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.007163/1.182, allocations: 5.862 MB / 1.337 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/1.183, allocations: 322.2 kB / 1.337 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/1.183, allocations: 243.4 kB / 1.337 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/1.184, allocations: 0.712 MB / 1.338 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.184, allocations: 50.42 kB / 1.338 GB, free: 12.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/1.184, allocations: 0 / 1.338 GB, free: 12.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001343/1.185, allocations: 0.6723 MB / 1.339 GB, free: 11.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.185, allocations: 132.5 kB / 1.339 GB, free: 11.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.187, allocations: 1.682 MB / 1.34 GB, free: 10.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/1.187, allocations: 37.7 kB / 1.341 GB, free: 9.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/1.188, allocations: 0.5584 MB / 1.341 GB, free: 9.418 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/1.188, allocations: 95.17 kB / 1.341 GB, free: 9.324 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.188, allocations: 70.16 kB / 1.341 GB, free: 9.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.188, allocations: 322 kB / 1.342 GB, free: 8.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/1.188, allocations: 159.9 kB / 1.342 GB, free: 8.773 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/1.189, allocations: 266 kB / 1.342 GB, free: 8.484 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/1.189, allocations: 408.2 kB / 1.342 GB, free: 8.055 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.189, allocations: 3.938 kB / 1.342 GB, free: 8.051 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008613/1.19, allocations: 0.5517 MB / 1.343 GB, free: 7.492 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.19, allocations: 4 kB / 1.343 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.19, allocations: 7.984 kB / 1.343 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/1.19, allocations: 4 kB / 1.343 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.19, allocations: 51.92 kB / 1.343 GB, free: 7.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.19, allocations: 4.094 kB / 1.343 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.191, allocations: 118.9 kB / 1.343 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/1.191, allocations: 28.19 kB / 1.343 GB, free: 7.277 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.0005027/1.192, allocations: 377.6 kB / 1.343 GB, free: 6.898 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/1.192, allocations: 143.1 kB / 1.344 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/1.192, allocations: 385.1 kB / 1.344 GB, free: 6.359 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.193, allocations: 4 kB / 1.344 GB, free: 6.355 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.193, allocations: 3.938 kB / 1.344 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.193, allocations: 3.984 kB / 1.344 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/1.196, allocations: 2.517 MB / 1.346 GB, free: 3.648 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.196, allocations: 4.094 kB / 1.346 GB, free: 3.645 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/1.197, allocations: 56.67 kB / 1.346 GB, free: 3.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/1.197, allocations: 16.03 kB / 1.346 GB, free: 3.574 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/1.197, allocations: 20 kB / 1.346 GB, free: 3.555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.197, allocations: 8 kB / 1.347 GB, free: 3.547 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/1.197, allocations: 11.94 kB / 1.347 GB, free: 3.535 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/1.197, allocations: 0.6387 MB / 1.347 GB, free: 2.797 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/1.198, allocations: 296 kB / 1.347 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/1.198, allocations: 19.98 kB / 1.347 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/1.199, allocations: 8 kB / 1.347 GB, free: 2.461 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/1.199, allocations: 35.86 kB / 1.347 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/1.199, allocations: 12 kB / 1.347 GB, free: 2.414 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001682/1.201, allocations: 1.231 MB / 1.349 GB, free: 1.188 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.201, allocations: 0 / 1.349 GB, free: 1.188 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001113/1.202, allocations: 327.4 kB / 1.349 GB, free: 0.8672 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.001837/1.204, allocations: 0.6082 MB / 1.35 GB, free: 264 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006528/1.204, allocations: 356.7 kB / 1.35 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.204, allocations: 4 kB / 1.35 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/1.204, allocations: 153.5 kB / 1.35 GB, free: 15.76 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/1.209, allocations: 0.9307 MB / 1.351 GB, free: 14.86 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/1.212, allocations: 2.138 MB / 1.353 GB, free: 12.61 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/1.213, allocations: 1.212 MB / 1.354 GB, free: 11.36 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009668/1.214, allocations: 298.7 kB / 1.355 GB, free: 11.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/1.214, allocations: 79.44 kB / 1.355 GB, free: 10.99 MB / 1.092 GB Notification: Performance of SimCode: time 8.91e-07/1.214, allocations: 0 / 1.355 GB, free: 10.99 MB / 1.092 GB Notification: Performance of Templates: time 0.05361/1.267, allocations: 30.97 MB / 1.385 GB, free: 12.38 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