Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.0007737/0.0007737, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004295/0.004295, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.5573, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1858/0.7432, allocations: 209.6 MB / 1.228 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.7558, allocations: 12.13 MB / 1.24 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.7569, allocations: 47.56 kB / 1.24 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.7578, allocations: 401.4 kB / 1.24 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.4548/1.213, allocations: 1.762 MB / 1.242 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/1.216, allocations: 1.729 MB / 1.244 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003193/1.22, allocations: 3.068 MB / 1.247 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/1.221, allocations: 0.9911 MB / 1.248 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/1.222, allocations: 0.6835 MB / 1.248 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/1.223, allocations: 0.6597 MB / 1.249 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.223, allocations: 36.38 kB / 1.249 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005631/1.228, allocations: 3.52 MB / 1.252 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005848/1.229, allocations: 486.4 kB / 1.253 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009095/1.23, allocations: 0.6766 MB / 1.253 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/1.234, allocations: 3.303 MB / 1.257 GB, free: 18.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.234, allocations: 0 / 1.257 GB, free: 18.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/1.234, allocations: 1.406 kB / 1.257 GB, free: 18.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.587e-05/1.234, allocations: 0 / 1.257 GB, free: 18.63 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001738/1.236, allocations: 1.441 MB / 1.258 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/1.236, allocations: 9.219 kB / 1.258 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/1.236, allocations: 168.9 kB / 1.258 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/1.237, allocations: 374.8 kB / 1.259 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/1.238, allocations: 0.895 MB / 1.259 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/1.238, allocations: 72.97 kB / 1.26 GB, free: 17.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.239, allocations: 102 kB / 1.26 GB, free: 17.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.24, allocations: 1.505 MB / 1.261 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.24, allocations: 6.031 kB / 1.261 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/1.241, allocations: 49.98 kB / 1.261 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/1.241, allocations: 57.22 kB / 1.261 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.242, allocations: 1.019 MB / 1.262 GB, free: 16.97 MB / 0.9981 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.004591/1.246, allocations: 5.88 MB / 1.268 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.247, allocations: 319.3 kB / 1.268 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/1.247, allocations: 251.9 kB / 1.268 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/1.248, allocations: 0.7172 MB / 1.269 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.248, allocations: 43.2 kB / 1.269 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/1.248, allocations: 0 / 1.269 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001025/1.249, allocations: 0.661 MB / 1.27 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.249, allocations: 139.4 kB / 1.27 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.25, allocations: 1.659 MB / 1.272 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/1.25, allocations: 29.33 kB / 1.272 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/1.251, allocations: 0.5482 MB / 1.272 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/1.251, allocations: 110 kB / 1.272 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/1.251, allocations: 29.83 kB / 1.272 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/1.251, allocations: 316.2 kB / 1.273 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.251, allocations: 165.1 kB / 1.273 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.251, allocations: 288.9 kB / 1.273 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/1.252, allocations: 440.5 kB / 1.273 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.252, allocations: 0 / 1.273 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005517/1.252, allocations: 0.5644 MB / 1.274 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.252, allocations: 6.656 kB / 1.274 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.252, allocations: 6.875 kB / 1.274 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.252, allocations: 2.75 kB / 1.274 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.253, allocations: 61.25 kB / 1.274 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.253, allocations: 3.375 kB / 1.274 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/1.253, allocations: 106.2 kB / 1.274 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/1.253, allocations: 21.67 kB / 1.274 GB, free: 11.24 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0003285/1.253, allocations: 382.6 kB / 1.275 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/1.254, allocations: 145.7 kB / 1.275 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/1.254, allocations: 379.1 kB / 1.275 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.254, allocations: 3.375 kB / 1.275 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.254, allocations: 3.188 kB / 1.275 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.254, allocations: 3.5 kB / 1.275 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/1.257, allocations: 2.56 MB / 1.278 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.257, allocations: 5.656 kB / 1.278 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/1.257, allocations: 55.97 kB / 1.278 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.257, allocations: 9.062 kB / 1.278 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/1.257, allocations: 10.28 kB / 1.278 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.257, allocations: 19.23 kB / 1.278 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.257, allocations: 9.656 kB / 1.278 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/1.257, allocations: 0.615 MB / 1.278 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/1.258, allocations: 306.2 kB / 1.279 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.258, allocations: 15.67 kB / 1.279 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/1.258, allocations: 23.5 kB / 1.279 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/1.258, allocations: 38.06 kB / 1.279 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/1.258, allocations: 15.31 kB / 1.279 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001098/1.26, allocations: 1.209 MB / 1.28 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.26, allocations: 0 / 1.28 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009428/1.26, allocations: 339.3 kB / 1.28 GB, free: 9.281 MB / 0.9981 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.001995/1.262, allocations: 1.679 MB / 1.282 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003731/1.263, allocations: 342 kB / 1.282 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.263, allocations: 0 / 1.282 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/1.263, allocations: 165.3 kB / 1.282 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004362/1.267, allocations: 0.8672 MB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.28, allocations: 11.66 MB / 1.295 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/1.281, allocations: 1.196 MB / 1.296 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000771/1.282, allocations: 300.3 kB / 1.296 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/1.282, allocations: 463 kB / 1.296 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.282, allocations: 0 / 1.296 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.388/3.67, allocations: 41.42 MB / 1.337 GB, free: 3.789 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/3.67, allocations: 245.8 kB / 1.337 GB, free: 3.535 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/6.197, allocations: 0 / 1.337 GB, free: 3.535 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches