Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_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.00774/0.00774, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001831/0.001831, allocations: 195.2 kB / 16.67 MB, free: 5.914 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.809/2.809, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3498, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 1.007/1.356, allocations: 214.1 MB / 1.416 GB, free: 12.02 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01842/1.375, allocations: 12.16 MB / 1.428 GB, free: 2.113 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/1.377, allocations: 42.5 kB / 1.428 GB, free: 2.094 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/1.379, allocations: 0.5021 MB / 1.429 GB, free: 1.637 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/1.385, allocations: 1.889 MB / 1.431 GB, free: 188 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005356/1.39, allocations: 1.896 MB / 1.432 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003954/1.394, allocations: 2.374 MB / 1.435 GB, free: 13.39 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/1.396, allocations: 1.195 MB / 1.436 GB, free: 12.73 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/1.398, allocations: 0.8509 MB / 1.437 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/1.4, allocations: 0.6573 MB / 1.437 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/1.4, allocations: 88 kB / 1.437 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006196/1.406, allocations: 2.696 MB / 1.44 GB, free: 8.625 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007764/1.407, allocations: 0.5338 MB / 1.441 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/1.409, allocations: 0.7386 MB / 1.441 GB, free: 7.348 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00699/1.416, allocations: 3.093 MB / 1.444 GB, free: 4.246 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.416, allocations: 0 / 1.444 GB, free: 4.246 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.873e-06/1.416, allocations: 0 / 1.444 GB, free: 4.246 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.768e-05/1.416, allocations: 0 / 1.444 GB, free: 4.246 MB / 1.123 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.00419/1.42, allocations: 1.721 MB / 1.446 GB, free: 2.469 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.002e-05/1.42, allocations: 8.625 kB / 1.446 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004531/1.42, allocations: 172.6 kB / 1.446 GB, free: 2.281 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/1.422, allocations: 373.8 kB / 1.447 GB, free: 1.914 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/1.425, allocations: 0.9617 MB / 1.448 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/1.425, allocations: 74.03 kB / 1.448 GB, free: 0.832 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/1.425, allocations: 100 kB / 1.448 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/1.428, allocations: 1.513 MB / 1.449 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/1.428, allocations: 3.938 kB / 1.449 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.428, allocations: 44 kB / 1.449 GB, free: 15.06 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.798e-05/1.428, allocations: 61.48 kB / 1.449 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/1.43, allocations: 1.021 MB / 1.45 GB, free: 13.98 MB / 1.139 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.007511/1.437, allocations: 5.809 MB / 1.456 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/1.438, allocations: 322.2 kB / 1.456 GB, free: 7.508 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/1.438, allocations: 247.4 kB / 1.456 GB, free: 7.254 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/1.439, allocations: 0.7116 MB / 1.457 GB, free: 6.395 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.439, allocations: 46.8 kB / 1.457 GB, free: 6.34 MB / 1.139 GB Notification: Performance of pre-optimization done (n=28): time 2.946e-06/1.439, allocations: 0 / 1.457 GB, free: 6.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=28): time 0.001446/1.44, allocations: 0.6712 MB / 1.458 GB, free: 5.664 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/1.44, allocations: 136.5 kB / 1.458 GB, free: 5.5 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/1.443, allocations: 1.654 MB / 1.46 GB, free: 3.836 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/1.443, allocations: 33.7 kB / 1.46 GB, free: 3.797 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/1.443, allocations: 0.5463 MB / 1.46 GB, free: 3.246 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/1.443, allocations: 98.55 kB / 1.46 GB, free: 3.148 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.443, allocations: 69.69 kB / 1.46 GB, free: 3.074 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.444, allocations: 322 kB / 1.461 GB, free: 2.754 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/1.444, allocations: 163.9 kB / 1.461 GB, free: 2.594 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/1.444, allocations: 291.3 kB / 1.461 GB, free: 2.273 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/1.445, allocations: 439.5 kB / 1.462 GB, free: 1.809 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.445, allocations: 0 / 1.462 GB, free: 1.809 MB / 1.139 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009031/1.446, allocations: 0.5542 MB / 1.462 GB, free: 1.246 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.446, allocations: 15.92 kB / 1.462 GB, free: 1.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.446, allocations: 0 / 1.462 GB, free: 1.23 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.446, allocations: 4.25 kB / 1.462 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/1.446, allocations: 59.92 kB / 1.462 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.446, allocations: 7.938 kB / 1.462 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/1.447, allocations: 110.5 kB / 1.462 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/1.447, allocations: 20 kB / 1.462 GB, free: 1.031 MB / 1.139 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.0005173/1.447, allocations: 381.5 kB / 1.463 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/1.447, allocations: 138.2 kB / 1.463 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/1.448, allocations: 393.7 kB / 1.463 GB, free: 108 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.448, allocations: 4 kB / 1.463 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.448, allocations: 0 / 1.463 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.448, allocations: 7.984 kB / 1.463 GB, free: 96 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/1.452, allocations: 2.506 MB / 1.466 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.452, allocations: 7.938 kB / 1.466 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/1.452, allocations: 51.91 kB / 1.466 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.452, allocations: 8 kB / 1.466 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.452, allocations: 15.94 kB / 1.466 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.452, allocations: 8 kB / 1.466 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.452, allocations: 11.94 kB / 1.466 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008088/1.453, allocations: 0.6243 MB / 1.466 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/1.454, allocations: 299.2 kB / 1.467 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.454, allocations: 8 kB / 1.467 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/1.454, allocations: 16.06 kB / 1.467 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/1.455, allocations: 39.84 kB / 1.467 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/1.455, allocations: 16 kB / 1.467 GB, free: 12.19 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001679/1.456, allocations: 1.203 MB / 1.468 GB, free: 10.99 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.456, allocations: 0 / 1.468 GB, free: 10.99 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001202/1.458, allocations: 335.8 kB / 1.468 GB, free: 10.66 MB / 1.154 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.002619/1.46, allocations: 1.659 MB / 1.47 GB, free: 8.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006461/1.461, allocations: 355.5 kB / 1.47 GB, free: 8.562 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.461, allocations: 4.5 kB / 1.47 GB, free: 8.559 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/1.461, allocations: 163.7 kB / 1.47 GB, free: 8.398 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.465, allocations: 0.9155 MB / 1.471 GB, free: 7.508 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.48, allocations: 10.37 MB / 1.481 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009505/1.481, allocations: 1.2 MB / 1.482 GB, free: 11.54 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001076/1.483, allocations: 298.7 kB / 1.483 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006195/1.483, allocations: 455.3 kB / 1.483 GB, free: 10.8 MB / 1.17 GB Notification: Performance of SimCode: time 1.933e-06/1.483, allocations: 4 kB / 1.483 GB, free: 10.79 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08034/1.564, allocations: 44.32 MB / 1.526 GB, free: 14.89 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/12.1, allocations: 10.19 kB / 1.526 GB, free: 14.89 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches