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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004673/0.004673, allocations: 103.5 kB / 15.74 MB, free: 6.043 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.001313/0.001312, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2893, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.7333/1.023, allocations: 214.1 MB / 1.429 GB, free: 12.82 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01485/1.038, allocations: 12.16 MB / 1.441 GB, free: 2.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009482/1.039, allocations: 42.03 kB / 1.441 GB, free: 2.891 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/1.04, allocations: 0.5141 MB / 1.442 GB, free: 2.422 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/1.044, allocations: 1.877 MB / 1.443 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/1.048, allocations: 1.903 MB / 1.445 GB, free: 14.95 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002674/1.051, allocations: 2.344 MB / 1.448 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/1.052, allocations: 1.247 MB / 1.449 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/1.054, allocations: 0.821 MB / 1.45 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007875/1.054, allocations: 0.6612 MB / 1.45 GB, free: 9.852 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/1.055, allocations: 92 kB / 1.45 GB, free: 9.762 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00506/1.06, allocations: 2.697 MB / 1.453 GB, free: 7.059 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005249/1.06, allocations: 0.5454 MB / 1.454 GB, free: 6.512 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007402/1.061, allocations: 0.7309 MB / 1.454 GB, free: 5.777 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/1.065, allocations: 3.115 MB / 1.457 GB, free: 2.652 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.065, allocations: 3.984 kB / 1.457 GB, free: 2.648 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.914e-06/1.065, allocations: 0 / 1.457 GB, free: 2.648 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.759e-05/1.065, allocations: 4 kB / 1.457 GB, free: 2.645 MB / 1.139 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.002388/1.068, allocations: 1.79 MB / 1.459 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/1.068, allocations: 8.031 kB / 1.459 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/1.068, allocations: 176.7 kB / 1.459 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.07, allocations: 386.6 kB / 1.46 GB, free: 232 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.071, allocations: 0.9705 MB / 1.461 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/1.071, allocations: 74.06 kB / 1.461 GB, free: 15.14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.071, allocations: 100 kB / 1.461 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/1.074, allocations: 1.529 MB / 1.462 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.074, allocations: 11.92 kB / 1.462 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.074, allocations: 44 kB / 1.462 GB, free: 13.35 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.483e-05/1.074, allocations: 61.48 kB / 1.462 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.075, allocations: 1.021 MB / 1.463 GB, free: 12.27 MB / 1.154 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.005992/1.081, allocations: 5.865 MB / 1.469 GB, free: 6.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/1.082, allocations: 322.2 kB / 1.469 GB, free: 5.738 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/1.082, allocations: 243.4 kB / 1.47 GB, free: 5.488 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/1.083, allocations: 0.7078 MB / 1.47 GB, free: 4.633 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.083, allocations: 38.88 kB / 1.47 GB, free: 4.586 MB / 1.154 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/1.083, allocations: 0 / 1.47 GB, free: 4.586 MB / 1.154 GB Notification: Performance of matching and sorting (n=28): time 0.001338/1.084, allocations: 0.6783 MB / 1.471 GB, free: 3.902 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.085, allocations: 132.5 kB / 1.471 GB, free: 3.742 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/1.087, allocations: 1.69 MB / 1.473 GB, free: 2.043 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/1.087, allocations: 33.7 kB / 1.473 GB, free: 2.004 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/1.087, allocations: 0.5623 MB / 1.473 GB, free: 1.438 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/1.087, allocations: 103.1 kB / 1.473 GB, free: 1.336 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.087, allocations: 66.16 kB / 1.473 GB, free: 1.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.088, allocations: 322 kB / 1.474 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/1.088, allocations: 163.9 kB / 1.474 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/1.088, allocations: 273.4 kB / 1.474 GB, free: 500 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/1.089, allocations: 400.3 kB / 1.475 GB, free: 68 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.089, allocations: 0 / 1.475 GB, free: 68 kB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000802/1.09, allocations: 0.56 MB / 1.475 GB, free: 15.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.09, allocations: 8 kB / 1.475 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.09, allocations: 0 / 1.475 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.09, allocations: 4 kB / 1.475 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.09, allocations: 59.91 kB / 1.475 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.09, allocations: 7.938 kB / 1.475 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/1.09, allocations: 107 kB / 1.475 GB, free: 15.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/1.09, allocations: 24.17 kB / 1.475 GB, free: 15.29 MB / 1.17 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.0004646/1.091, allocations: 377.6 kB / 1.476 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/1.091, allocations: 143.1 kB / 1.476 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006082/1.092, allocations: 398.6 kB / 1.476 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.092, allocations: 4 kB / 1.476 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.092, allocations: 3.938 kB / 1.476 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/1.092, allocations: 0 / 1.476 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/1.095, allocations: 2.533 MB / 1.479 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.095, allocations: 8 kB / 1.479 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.095, allocations: 44.73 kB / 1.479 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/1.095, allocations: 8 kB / 1.479 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.096, allocations: 12 kB / 1.479 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/1.096, allocations: 19.92 kB / 1.479 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.096, allocations: 11.94 kB / 1.479 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/1.096, allocations: 0.6246 MB / 1.479 GB, free: 10.82 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/1.097, allocations: 308 kB / 1.48 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.097, allocations: 12 kB / 1.48 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.097, allocations: 8 kB / 1.48 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/1.097, allocations: 43.78 kB / 1.48 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/1.097, allocations: 16 kB / 1.48 GB, free: 10.42 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001674/1.099, allocations: 1.227 MB / 1.481 GB, free: 9.195 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.099, allocations: 3.938 kB / 1.481 GB, free: 9.191 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009623/1.1, allocations: 323.4 kB / 1.481 GB, free: 8.875 MB / 1.17 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.00237/1.102, allocations: 1.669 MB / 1.483 GB, free: 7.109 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006219/1.103, allocations: 355.5 kB / 1.483 GB, free: 6.762 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.103, allocations: 0 / 1.483 GB, free: 6.762 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/1.103, allocations: 169.5 kB / 1.483 GB, free: 6.598 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/1.107, allocations: 0.9127 MB / 1.484 GB, free: 5.711 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.121, allocations: 10.53 MB / 1.495 GB, free: 10.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/1.122, allocations: 1.204 MB / 1.496 GB, free: 9.605 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009057/1.123, allocations: 298.7 kB / 1.496 GB, free: 9.309 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/1.123, allocations: 467.3 kB / 1.496 GB, free: 8.852 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/1.124, allocations: 0 / 1.496 GB, free: 8.852 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07942/1.203, allocations: 44.05 MB / 1.54 GB, free: 13.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.45, allocations: 0 / 1.54 GB, free: 13.27 MB / 1.232 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/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