Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Boundary",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.006096/0.006096, allocations: 100.8 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.001673/0.001673, allocations: 197.3 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.364/2.364, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5808, allocations: 159.2 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2805/0.8613, allocations: 253.3 MB / 1.468 GB, free: 3.793 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03101/0.8923, allocations: 20.59 MB / 1.488 GB, free: 15.14 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.8939, allocations: 75.44 kB / 1.488 GB, free: 15.07 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.8955, allocations: 0.8298 MB / 1.489 GB, free: 14.23 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.9011, allocations: 2.919 MB / 1.491 GB, free: 11.3 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.9065, allocations: 2.745 MB / 1.494 GB, free: 8.562 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.9109, allocations: 3.817 MB / 1.498 GB, free: 4.734 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.9126, allocations: 1.308 MB / 1.499 GB, free: 3.391 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.915, allocations: 1.424 MB / 1.5 GB, free: 1.965 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.916, allocations: 0.9837 MB / 1.501 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.9162, allocations: 112 kB / 1.502 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009702/0.9259, allocations: 3.951 MB / 1.505 GB, free: 12.91 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000814/0.9267, allocations: 0.6505 MB / 1.506 GB, free: 12.25 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.9281, allocations: 0.9795 MB / 1.507 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.9355, allocations: 4.158 MB / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.9355, allocations: 0 / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9355, allocations: 0 / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.9356, allocations: 0 / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003882/0.9394, allocations: 2.366 MB / 1.513 GB, free: 4.672 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.9395, allocations: 12.03 kB / 1.513 GB, free: 4.66 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.9397, allocations: 198 kB / 1.514 GB, free: 4.457 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.9415, allocations: 498.1 kB / 1.514 GB, free: 3.969 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.9433, allocations: 1.385 MB / 1.515 GB, free: 2.531 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.9434, allocations: 94.44 kB / 1.515 GB, free: 2.438 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.9436, allocations: 127.9 kB / 1.516 GB, free: 2.312 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.9457, allocations: 1.72 MB / 1.517 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.9458, allocations: 3.938 kB / 1.517 GB, free: 460 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.9459, allocations: 52 kB / 1.517 GB, free: 408 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.436e-05/0.9459, allocations: 71.91 kB / 1.517 GB, free: 336 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.9475, allocations: 1.213 MB / 1.519 GB, free: 15.11 MB / 1.248 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.006288/0.9538, allocations: 7.55 MB / 1.526 GB, free: 7.172 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.9547, allocations: 0.662 MB / 1.527 GB, free: 6.418 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.9553, allocations: 0.6174 MB / 1.527 GB, free: 5.77 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.9568, allocations: 1.872 MB / 1.529 GB, free: 3.492 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.9568, allocations: 62.42 kB / 1.529 GB, free: 3.422 MB / 1.248 GB Notification: Performance of pre-optimization done (n=72): time 2.043e-06/0.9568, allocations: 0 / 1.529 GB, free: 3.422 MB / 1.248 GB Notification: Performance of matching and sorting (n=72): time 0.002067/0.9589, allocations: 1.404 MB / 1.53 GB, free: 2.012 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.9591, allocations: 298.7 kB / 1.531 GB, free: 1.652 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.9611, allocations: 1.884 MB / 1.533 GB, free: 15.73 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.9612, allocations: 41.7 kB / 1.533 GB, free: 15.68 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.9618, allocations: 0.7254 MB / 1.533 GB, free: 14.95 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.962, allocations: 265.7 kB / 1.534 GB, free: 14.69 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.9622, allocations: 130.3 kB / 1.534 GB, free: 14.56 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9623, allocations: 337.9 kB / 1.534 GB, free: 14.22 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.9627, allocations: 325.1 kB / 1.534 GB, free: 13.9 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.9633, allocations: 0.5664 MB / 1.535 GB, free: 13.29 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.9643, allocations: 0.8571 MB / 1.536 GB, free: 12.38 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9643, allocations: 0 / 1.536 GB, free: 12.38 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001249/0.9656, allocations: 1.023 MB / 1.537 GB, free: 11.35 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9656, allocations: 5.562 kB / 1.537 GB, free: 11.35 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9656, allocations: 8.125 kB / 1.537 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.9656, allocations: 8 kB / 1.537 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.966, allocations: 123.8 kB / 1.537 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.966, allocations: 11.98 kB / 1.537 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.9665, allocations: 131.3 kB / 1.537 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/0.9666, allocations: 47.92 kB / 1.537 GB, free: 11.02 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005105/0.9672, allocations: 453.5 kB / 1.537 GB, free: 10.57 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.9675, allocations: 198.7 kB / 1.538 GB, free: 10.38 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.969, allocations: 1.091 MB / 1.539 GB, free: 9.273 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.969, allocations: 16 kB / 1.539 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9691, allocations: 0 / 1.539 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.9691, allocations: 7.984 kB / 1.539 GB, free: 9.25 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.9823, allocations: 8.753 MB / 1.547 GB, free: 15.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.9823, allocations: 16 kB / 1.547 GB, free: 15.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.983, allocations: 147.7 kB / 1.547 GB, free: 15.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/0.983, allocations: 20.12 kB / 1.547 GB, free: 15.82 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/0.9831, allocations: 39.94 kB / 1.548 GB, free: 15.78 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.95e-05/0.9832, allocations: 31.86 kB / 1.548 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-05/0.9832, allocations: 23.88 kB / 1.548 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.9859, allocations: 1.685 MB / 1.549 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/0.9867, allocations: 423.4 kB / 1.55 GB, free: 13.39 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.9871, allocations: 35.98 kB / 1.55 GB, free: 13.35 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.9881, allocations: 28 kB / 1.55 GB, free: 13.32 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.9883, allocations: 111.5 kB / 1.55 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.9884, allocations: 52 kB / 1.55 GB, free: 13.16 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002506/0.991, allocations: 1.32 MB / 1.551 GB, free: 11.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.2e-07/0.991, allocations: 0 / 1.551 GB, free: 11.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002132/0.9931, allocations: 0.5184 MB / 1.552 GB, free: 11.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004422/0.9975, allocations: 3.021 MB / 1.555 GB, free: 8.059 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9986, allocations: 0.8522 MB / 1.555 GB, free: 7.207 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.9986, allocations: 4 kB / 1.555 GB, free: 7.203 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.9992, allocations: 487.2 kB / 1.556 GB, free: 6.73 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/1.004, allocations: 1.34 MB / 1.557 GB, free: 5.434 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5058/1.51, allocations: 13.91 MB / 1.571 GB, free: 333.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/1.511, allocations: 1.402 MB / 1.572 GB, free: 333.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001194/1.512, allocations: 480.7 kB / 1.573 GB, free: 333.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/1.513, allocations: 0.6582 MB / 1.573 GB, free: 332.6 MB / 1.279 GB Notification: Performance of SimCode: time 1.112e-06/1.513, allocations: 1.062 kB / 1.573 GB, free: 332.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.79/3.303, allocations: 60.09 MB / 1.632 GB, free: 285.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.29/29.59, allocations: 6 kB / 1.632 GB, free: 285.7 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches