Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.008031/0.008031, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002452/0.002452, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437.1 MB / 0.7106 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 71.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2493, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.651/0.9003, allocations: 214.1 MB / 1.375 GB, free: 1.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.9138, allocations: 12.15 MB / 1.387 GB, free: 7.996 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.9149, allocations: 43.88 kB / 1.387 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.9159, allocations: 0.5183 MB / 1.388 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.9197, allocations: 1.874 MB / 1.389 GB, free: 6.066 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.9235, allocations: 1.908 MB / 1.391 GB, free: 4.664 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.9256, allocations: 2.344 MB / 1.394 GB, free: 3.281 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.9268, allocations: 1.232 MB / 1.395 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.9277, allocations: 0.8284 MB / 1.396 GB, free: 2.117 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.9283, allocations: 0.6663 MB / 1.396 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.9284, allocations: 90.03 kB / 1.396 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.9323, allocations: 2.697 MB / 1.399 GB, free: 188 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.9328, allocations: 0.5434 MB / 1.4 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.9334, allocations: 0.7386 MB / 1.4 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.9365, allocations: 3.115 MB / 1.403 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.9365, allocations: 4 kB / 1.403 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9365, allocations: 0 / 1.403 GB, free: 13.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.9366, allocations: 0 / 1.403 GB, free: 13.46 MB / 1.076 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.001871/0.9384, allocations: 1.789 MB / 1.405 GB, free: 12.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.9385, allocations: 10.28 kB / 1.405 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.9386, allocations: 177.5 kB / 1.405 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.94, allocations: 384.7 kB / 1.406 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.9413, allocations: 0.9676 MB / 1.407 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.9413, allocations: 80.56 kB / 1.407 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.9415, allocations: 107.6 kB / 1.407 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.9432, allocations: 1.525 MB / 1.408 GB, free: 9.945 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.9432, allocations: 10.31 kB / 1.408 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.9433, allocations: 44.97 kB / 1.408 GB, free: 9.906 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.9434, allocations: 64.89 kB / 1.408 GB, free: 9.891 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.9446, allocations: 1.022 MB / 1.409 GB, free: 9.395 MB / 1.076 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.004963/0.9495, allocations: 5.863 MB / 1.415 GB, free: 4.297 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.95, allocations: 317.1 kB / 1.415 GB, free: 4.086 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.9503, allocations: 245.8 kB / 1.416 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.9509, allocations: 0.7105 MB / 1.416 GB, free: 3.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.9509, allocations: 47.09 kB / 1.416 GB, free: 3.109 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.951, allocations: 0 / 1.416 GB, free: 3.109 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001041/0.952, allocations: 0.6745 MB / 1.417 GB, free: 2.762 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.9521, allocations: 139.4 kB / 1.417 GB, free: 2.598 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.9538, allocations: 1.683 MB / 1.419 GB, free: 1.449 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.9538, allocations: 29.7 kB / 1.419 GB, free: 1.414 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.9543, allocations: 0.5662 MB / 1.419 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.9544, allocations: 95.17 kB / 1.419 GB, free: 0.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.9545, allocations: 61.7 kB / 1.42 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9546, allocations: 314 kB / 1.42 GB, free: 380 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.9548, allocations: 159.9 kB / 1.42 GB, free: 220 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.9551, allocations: 281.4 kB / 1.42 GB, free: 15.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.9556, allocations: 409.8 kB / 1.421 GB, free: 15.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9556, allocations: 0 / 1.421 GB, free: 15.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006707/0.9563, allocations: 0.5433 MB / 1.421 GB, free: 14.93 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.9563, allocations: 8.188 kB / 1.421 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9563, allocations: 4 kB / 1.421 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9563, allocations: 4 kB / 1.421 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.9565, allocations: 55.91 kB / 1.421 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9566, allocations: 8.719 kB / 1.421 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.957, allocations: 110.9 kB / 1.421 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.957, allocations: 20.08 kB / 1.421 GB, free: 14.72 MB / 1.092 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.0003961/0.9574, allocations: 377.6 kB / 1.422 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.9576, allocations: 155 kB / 1.422 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.9582, allocations: 392.6 kB / 1.422 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9582, allocations: 4 kB / 1.422 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.9582, allocations: 7.938 kB / 1.422 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.9582, allocations: 0 / 1.422 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.9611, allocations: 2.529 MB / 1.425 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9612, allocations: 4 kB / 1.425 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.9613, allocations: 55.86 kB / 1.425 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.9613, allocations: 8 kB / 1.425 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.9614, allocations: 8 kB / 1.425 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.9614, allocations: 11.98 kB / 1.425 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9614, allocations: 7.938 kB / 1.425 GB, free: 10.96 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.962, allocations: 0.6273 MB / 1.425 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.9624, allocations: 312 kB / 1.426 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.9625, allocations: 12 kB / 1.426 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.9629, allocations: 12 kB / 1.426 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.9629, allocations: 35.84 kB / 1.426 GB, free: 9.855 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.963, allocations: 16 kB / 1.426 GB, free: 9.84 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00138/0.9643, allocations: 1.231 MB / 1.427 GB, free: 8.613 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9643, allocations: 0 / 1.427 GB, free: 8.613 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007973/0.9651, allocations: 323.4 kB / 1.427 GB, free: 8.297 MB / 1.092 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.00205/0.9672, allocations: 1.669 MB / 1.429 GB, free: 6.531 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.9677, allocations: 351.5 kB / 1.429 GB, free: 6.188 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9677, allocations: 7.938 kB / 1.429 GB, free: 6.18 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.9679, allocations: 161.2 kB / 1.429 GB, free: 6.023 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/0.9712, allocations: 0.9251 MB / 1.43 GB, free: 5.125 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.983, allocations: 10.52 MB / 1.441 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.9839, allocations: 1.208 MB / 1.442 GB, free: 9.016 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007018/0.9846, allocations: 298.7 kB / 1.442 GB, free: 8.719 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.9851, allocations: 463.3 kB / 1.443 GB, free: 8.266 MB / 1.107 GB Notification: Performance of SimCode: time 3.51e-07/0.9851, allocations: 4 kB / 1.443 GB, free: 8.262 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/3.055, allocations: 44.03 MB / 1.486 GB, free: 12.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/20.41, allocations: 23.8 kB / 1.486 GB, free: 12.65 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches