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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_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.004561/0.004561, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001073/0.001073, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.193/2.193, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6603, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2336/0.894, allocations: 214.1 MB / 1.297 GB, free: 7.504 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.9098, allocations: 12.17 MB / 1.308 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.9113, allocations: 39.75 kB / 1.308 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.9129, allocations: 0.5041 MB / 1.309 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.9177, allocations: 1.874 MB / 1.311 GB, free: 8.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/0.9222, allocations: 1.903 MB / 1.313 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.9251, allocations: 2.356 MB / 1.315 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.927, allocations: 1.228 MB / 1.316 GB, free: 3.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.9285, allocations: 0.8327 MB / 1.317 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.9295, allocations: 0.6534 MB / 1.318 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.9297, allocations: 88 kB / 1.318 GB, free: 1.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.935, allocations: 2.705 MB / 1.32 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006471/0.9356, allocations: 0.5454 MB / 1.321 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.9369, allocations: 0.7386 MB / 1.322 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.9421, allocations: 3.109 MB / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9421, allocations: 0 / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9422, allocations: 3.938 kB / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001014/0.9423, allocations: 0 / 1.325 GB, free: 10.66 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.003326/0.9456, allocations: 1.744 MB / 1.326 GB, free: 8.855 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.9457, allocations: 12.03 kB / 1.326 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000254/0.9459, allocations: 164.8 kB / 1.326 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.9478, allocations: 377.8 kB / 1.327 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.9495, allocations: 0.9541 MB / 1.328 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.9496, allocations: 82.06 kB / 1.328 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.9498, allocations: 104 kB / 1.328 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.9521, allocations: 1.529 MB / 1.329 GB, free: 5.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.9522, allocations: 7.938 kB / 1.329 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.9523, allocations: 51.94 kB / 1.329 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/0.9524, allocations: 61.53 kB / 1.33 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.954, allocations: 1.021 MB / 1.331 GB, free: 4.336 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.006316/0.9603, allocations: 5.844 MB / 1.336 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.9609, allocations: 330.1 kB / 1.337 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.9612, allocations: 243.4 kB / 1.337 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.9619, allocations: 0.7078 MB / 1.337 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.9619, allocations: 46.44 kB / 1.338 GB, free: 12.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.9619, allocations: 0 / 1.338 GB, free: 12.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001334/0.9633, allocations: 0.66 MB / 1.338 GB, free: 11.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.9634, allocations: 144.5 kB / 1.338 GB, free: 11.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.9655, allocations: 1.686 MB / 1.34 GB, free: 10.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.9655, allocations: 29.7 kB / 1.34 GB, free: 10.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.966, allocations: 0.5544 MB / 1.341 GB, free: 9.531 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.9661, allocations: 94.64 kB / 1.341 GB, free: 9.438 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.9662, allocations: 74.09 kB / 1.341 GB, free: 9.359 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9664, allocations: 318 kB / 1.341 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.9666, allocations: 159.9 kB / 1.341 GB, free: 8.887 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.9669, allocations: 266 kB / 1.341 GB, free: 8.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.9674, allocations: 412.1 kB / 1.342 GB, free: 8.164 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9674, allocations: 0 / 1.342 GB, free: 8.164 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008509/0.9683, allocations: 0.5472 MB / 1.342 GB, free: 7.609 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9683, allocations: 4 kB / 1.342 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9683, allocations: 4 kB / 1.342 GB, free: 7.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.9684, allocations: 4.094 kB / 1.342 GB, free: 7.598 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.9686, allocations: 51.91 kB / 1.342 GB, free: 7.547 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.9686, allocations: 7.938 kB / 1.342 GB, free: 7.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.9692, allocations: 110.5 kB / 1.342 GB, free: 7.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.9692, allocations: 27.94 kB / 1.343 GB, free: 7.402 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.000458/0.9697, allocations: 381.7 kB / 1.343 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.97, allocations: 138.2 kB / 1.343 GB, free: 6.883 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.9706, allocations: 393.2 kB / 1.343 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9706, allocations: 64 / 1.343 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.9706, allocations: 11.94 kB / 1.343 GB, free: 6.465 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9706, allocations: 0 / 1.343 GB, free: 6.465 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.9739, allocations: 2.517 MB / 1.346 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.9739, allocations: 4 kB / 1.346 GB, free: 3.762 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.9741, allocations: 55.84 kB / 1.346 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.9741, allocations: 8 kB / 1.346 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.9742, allocations: 12 kB / 1.346 GB, free: 3.688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.9742, allocations: 8.562 kB / 1.346 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.9742, allocations: 11.94 kB / 1.346 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.9749, allocations: 0.627 MB / 1.347 GB, free: 2.941 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.9754, allocations: 295.2 kB / 1.347 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.9757, allocations: 12 kB / 1.347 GB, free: 2.621 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.9761, allocations: 12 kB / 1.347 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.9761, allocations: 39.84 kB / 1.347 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.9762, allocations: 16 kB / 1.347 GB, free: 2.555 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001586/0.9778, allocations: 1.223 MB / 1.348 GB, free: 1.336 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9778, allocations: 0 / 1.348 GB, free: 1.336 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001063/0.9788, allocations: 331.7 kB / 1.348 GB, free: 1.012 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.002421/0.9813, allocations: 1.666 MB / 1.35 GB, free: 15.25 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.9818, allocations: 347.5 kB / 1.35 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.9818, allocations: 0 / 1.35 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.982, allocations: 161 kB / 1.351 GB, free: 14.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/0.9858, allocations: 0.9241 MB / 1.351 GB, free: 13.86 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.9996, allocations: 10.48 MB / 1.362 GB, free: 3.031 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/1.001, allocations: 1.204 MB / 1.363 GB, free: 1.797 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008912/1.001, allocations: 302.7 kB / 1.363 GB, free: 1.496 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/1.002, allocations: 459.3 kB / 1.364 GB, free: 1.047 MB / 1.092 GB Notification: Performance of SimCode: time 7.02e-07/1.002, allocations: 0 / 1.364 GB, free: 1.047 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07919/1.081, allocations: 44.03 MB / 1.407 GB, free: 5.5 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.872/10.95, allocations: 3.938 kB / 1.407 GB, free: 5.496 MB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/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