Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_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.005713/0.005713, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.002201/0.002201, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.338/2.338, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 67.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.5752, allocations: 159.2 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2028/0.7781, allocations: 214.1 MB / 1.429 GB, free: 11.13 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.7913, allocations: 12.18 MB / 1.441 GB, free: 14.93 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005664/0.7919, allocations: 43.69 kB / 1.441 GB, free: 14.88 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009329/0.7929, allocations: 0.508 MB / 1.442 GB, free: 14.37 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.7963, allocations: 1.874 MB / 1.443 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.7999, allocations: 1.915 MB / 1.445 GB, free: 10.58 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.802, allocations: 2.344 MB / 1.448 GB, free: 8.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8034, allocations: 1.233 MB / 1.449 GB, free: 6.973 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.8043, allocations: 0.821 MB / 1.45 GB, free: 6.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.8049, allocations: 0.6651 MB / 1.45 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.8051, allocations: 92 kB / 1.45 GB, free: 5.391 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.8089, allocations: 2.7 MB / 1.453 GB, free: 2.684 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.8093, allocations: 0.5454 MB / 1.454 GB, free: 2.137 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006239/0.81, allocations: 0.7386 MB / 1.454 GB, free: 1.395 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.8132, allocations: 3.111 MB / 1.457 GB, free: 14.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8132, allocations: 0 / 1.457 GB, free: 14.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8132, allocations: 4 kB / 1.457 GB, free: 14.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.8132, allocations: 0 / 1.457 GB, free: 14.27 MB / 1.186 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.0019/0.8151, allocations: 1.789 MB / 1.459 GB, free: 12.42 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.8151, allocations: 8.031 kB / 1.459 GB, free: 12.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.8153, allocations: 168.8 kB / 1.459 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.8167, allocations: 390.6 kB / 1.46 GB, free: 11.86 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.818, allocations: 0.9667 MB / 1.461 GB, free: 10.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.8181, allocations: 82.06 kB / 1.461 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8182, allocations: 100 kB / 1.461 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.8201, allocations: 1.533 MB / 1.462 GB, free: 9.023 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.8201, allocations: 3.938 kB / 1.462 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.8202, allocations: 51.88 kB / 1.462 GB, free: 8.969 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.8203, allocations: 57.55 kB / 1.462 GB, free: 8.914 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.8216, allocations: 1.021 MB / 1.463 GB, free: 7.891 MB / 1.186 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.005112/0.8267, allocations: 5.87 MB / 1.469 GB, free: 1.707 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.8272, allocations: 314.2 kB / 1.469 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.8274, allocations: 247.4 kB / 1.47 GB, free: 1.109 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/0.8281, allocations: 0.7039 MB / 1.47 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.8281, allocations: 46.48 kB / 1.47 GB, free: 208 kB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.8281, allocations: 0 / 1.47 GB, free: 208 kB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.0011/0.8292, allocations: 0.6765 MB / 1.471 GB, free: 15.52 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.8293, allocations: 144.3 kB / 1.471 GB, free: 15.35 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.8311, allocations: 1.678 MB / 1.473 GB, free: 13.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.8312, allocations: 33.7 kB / 1.473 GB, free: 13.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.8316, allocations: 0.5623 MB / 1.473 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.8317, allocations: 99.16 kB / 1.473 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.8318, allocations: 65.66 kB / 1.473 GB, free: 12.89 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.832, allocations: 322 kB / 1.474 GB, free: 12.57 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.8322, allocations: 163.9 kB / 1.474 GB, free: 12.41 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.8325, allocations: 265 kB / 1.474 GB, free: 12.12 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.8329, allocations: 412.2 kB / 1.475 GB, free: 11.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.8329, allocations: 4 kB / 1.475 GB, free: 11.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006766/0.8336, allocations: 0.5478 MB / 1.475 GB, free: 11.12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.8336, allocations: 8 kB / 1.475 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8336, allocations: 160 / 1.475 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8337, allocations: 4 kB / 1.475 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.8339, allocations: 55.91 kB / 1.475 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.8339, allocations: 11.98 kB / 1.475 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.8343, allocations: 115 kB / 1.475 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.8343, allocations: 20 kB / 1.475 GB, free: 10.91 MB / 1.201 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.0003957/0.8347, allocations: 386.8 kB / 1.476 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.8349, allocations: 143.1 kB / 1.476 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.8354, allocations: 385.2 kB / 1.476 GB, free: 9.988 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.8354, allocations: 4 kB / 1.476 GB, free: 9.984 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8355, allocations: 3.938 kB / 1.476 GB, free: 9.98 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.8355, allocations: 3.984 kB / 1.476 GB, free: 9.977 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.8383, allocations: 2.525 MB / 1.479 GB, free: 7.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8383, allocations: 8 kB / 1.479 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.8385, allocations: 51.8 kB / 1.479 GB, free: 7.211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.8385, allocations: 8.75 kB / 1.479 GB, free: 7.203 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.8386, allocations: 15.98 kB / 1.479 GB, free: 7.188 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.8386, allocations: 12 kB / 1.479 GB, free: 7.176 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.8386, allocations: 11.94 kB / 1.479 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.8392, allocations: 0.6333 MB / 1.479 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.8396, allocations: 300 kB / 1.48 GB, free: 6.121 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.8397, allocations: 15.98 kB / 1.48 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.84, allocations: 15.94 kB / 1.48 GB, free: 6.09 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.8401, allocations: 31.86 kB / 1.48 GB, free: 6.059 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.8401, allocations: 20 kB / 1.48 GB, free: 6.039 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001353/0.8415, allocations: 1.223 MB / 1.481 GB, free: 4.82 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8415, allocations: 0 / 1.481 GB, free: 4.82 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000691/0.8422, allocations: 335.3 kB / 1.481 GB, free: 4.492 MB / 1.201 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.002015/0.8442, allocations: 1.667 MB / 1.483 GB, free: 2.727 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.8447, allocations: 347.9 kB / 1.483 GB, free: 2.387 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8447, allocations: 0 / 1.483 GB, free: 2.387 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.8449, allocations: 165.5 kB / 1.483 GB, free: 2.227 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.8481, allocations: 0.9257 MB / 1.484 GB, free: 1.324 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.8597, allocations: 10.53 MB / 1.495 GB, free: 6.457 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.8605, allocations: 1.204 MB / 1.496 GB, free: 5.223 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006311/0.8611, allocations: 294.7 kB / 1.496 GB, free: 4.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.8616, allocations: 463.3 kB / 1.496 GB, free: 4.477 MB / 1.217 GB Notification: Performance of SimCode: time 3.1e-07/0.8616, allocations: 0 / 1.496 GB, free: 4.477 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.941/8.803, allocations: 44.03 MB / 1.539 GB, free: 8.922 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/28.14, allocations: 12.36 kB / 1.539 GB, free: 8.914 MB / 1.264 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches