Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001408/0.001408, allocations: 195.5 kB / 16.14 MB, free: 6.707 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5046, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001532/0.5062, allocations: 0.6107 MB / 0.9497 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.5064, allocations: 108.8 kB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.128e-05/0.5065, allocations: 3.938 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.121e-05/0.5065, allocations: 10.12 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.5066, allocations: 4 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.5067, allocations: 37.25 kB / 0.9498 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.5067, allocations: 25.78 kB / 0.9498 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.066e-05/0.5068, allocations: 1.125 kB / 0.9498 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.5068, allocations: 17.05 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.5068, allocations: 5.188 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.5069, allocations: 1.375 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.5069, allocations: 18.36 kB / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.5069, allocations: 0 / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.507, allocations: 13.48 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.194e-05/0.507, allocations: 29.67 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.507, allocations: 1.094 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.61e-07/0.507, allocations: 0 / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.5071, allocations: 0 / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002054/0.5073, allocations: 357.2 kB / 0.9503 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5073, allocations: 9.938 kB / 0.9503 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.946e-05/0.5073, allocations: 31.84 kB / 0.9503 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.5074, allocations: 12.09 kB / 0.9503 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.161e-05/0.5074, allocations: 169.4 kB / 0.9505 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.5074, allocations: 2.5 kB / 0.9505 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5075, allocations: 3.875 kB / 0.9505 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/0.5076, allocations: 56.23 kB / 0.9505 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.5076, allocations: 7.875 kB / 0.9505 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5076, allocations: 2.781 kB / 0.9505 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.5076, allocations: 0 / 0.9505 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.5076, allocations: 15.33 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.456e-05/0.5077, allocations: 152.1 kB / 0.9507 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.5078, allocations: 28.42 kB / 0.9507 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.5078, allocations: 21.81 kB / 0.9507 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-06/0.5078, allocations: 0 / 0.9507 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.5078, allocations: 35.88 kB / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.5078, allocations: 0 / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000189/0.508, allocations: 109.7 kB / 0.9509 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.5081, allocations: 82.59 kB / 0.951 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.569e-05/0.5081, allocations: 96.89 kB / 0.9511 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.5081, allocations: 27.61 kB / 0.9511 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.054e-05/0.5081, allocations: 80.14 kB / 0.9512 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.5082, allocations: 3.25 kB / 0.9512 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.5082, allocations: 24.89 kB / 0.9512 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.5082, allocations: 312.2 kB / 0.9515 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.5083, allocations: 23.31 kB / 0.9515 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.5083, allocations: 11.58 kB / 0.9515 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.895e-05/0.5084, allocations: 82.5 kB / 0.9516 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5084, allocations: 0 / 0.9516 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.5085, allocations: 99.89 kB / 0.9517 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5085, allocations: 34.48 kB / 0.9517 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5085, allocations: 5.297 kB / 0.9517 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.5085, allocations: 0 / 0.9517 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.5085, allocations: 4.094 kB / 0.9517 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5085, allocations: 1.312 kB / 0.9517 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.5087, allocations: 6.188 kB / 0.9517 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5087, allocations: 3.312 kB / 0.9517 GB, free: 6.516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.879e-05/0.5087, allocations: 148.8 kB / 0.9519 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.5088, allocations: 7.688 kB / 0.9519 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-06/0.5088, allocations: 4.625 kB / 0.9519 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.5088, allocations: 0 / 0.9519 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5088, allocations: 4 kB / 0.9519 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5088, allocations: 0 / 0.9519 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.447e-05/0.5088, allocations: 153.7 kB / 0.952 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5088, allocations: 0 / 0.952 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/0.5088, allocations: 5.328 kB / 0.9521 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5088, allocations: 3.938 kB / 0.9521 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.5089, allocations: 7.156 kB / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.5089, allocations: 0 / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5089, allocations: 0 / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.509, allocations: 122.3 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.509, allocations: 77.11 kB / 0.9523 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.509, allocations: 7.062 kB / 0.9523 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5091, allocations: 7.703 kB / 0.9523 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.5092, allocations: 6.656 kB / 0.9523 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.5092, allocations: 2.281 kB / 0.9523 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.553e-05/0.5092, allocations: 81.75 kB / 0.9524 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5092, allocations: 128 / 0.9524 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001874/0.5094, allocations: 15.81 kB / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003121/0.5097, allocations: 0.6803 MB / 0.953 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.5098, allocations: 84.39 kB / 0.9531 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5098, allocations: 0 / 0.9531 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.5099, allocations: 72.02 kB / 0.9532 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.51, allocations: 7.969 kB / 0.9532 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.5103, allocations: 146.2 kB / 0.9533 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.5104, allocations: 0.6706 MB / 0.954 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.5104, allocations: 12.23 kB / 0.954 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.066e-05/0.5104, allocations: 7.438 kB / 0.954 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5105, allocations: 0 / 0.954 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3599/0.8703, allocations: 1.708 MB / 0.9557 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.8705, allocations: 231.7 kB / 0.9559 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.769, allocations: 0 / 0.9559 GB, free: 3.055 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches