Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",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.005299/0.005299, allocations: 97.56 kB / 15.73 MB, free: 6.039 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.001555/0.001556, allocations: 201.6 kB / 16.68 MB, free: 5.961 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2863, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001526/0.2878, allocations: 0.5446 MB / 1.242 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2891, allocations: 1.027 MB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.2892, allocations: 0 / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.2892, allocations: 3.938 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.2899, allocations: 127.7 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.325e-05/0.2899, allocations: 8 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.29, allocations: 7.938 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.29, allocations: 3.984 kB / 1.244 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.29, allocations: 4 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2902, allocations: 47.83 kB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2903, allocations: 8 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.2905, allocations: 107.9 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.2905, allocations: 0 / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.2905, allocations: 7.984 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2907, allocations: 99.7 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2907, allocations: 0 / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2907, allocations: 0 / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.2907, allocations: 0 / 1.244 GB, free: 7.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003282/0.291, allocations: 347.3 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2911, allocations: 12.03 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.2911, allocations: 34.75 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.883e-05/0.2911, allocations: 0.9375 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2913, allocations: 164.4 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2913, allocations: 384 / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.2913, allocations: 384 / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2914, allocations: 33.62 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2915, allocations: 0 / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2915, allocations: 0 / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2915, allocations: 4 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.2916, allocations: 7.938 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.292, allocations: 464.6 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.464e-05/0.2921, allocations: 169.1 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.2921, allocations: 80.14 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.2921, allocations: 79.28 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.2922, allocations: 113.8 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2922, allocations: 0 / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.715e-05/0.2923, allocations: 29.69 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.2923, allocations: 126.7 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.2924, allocations: 101.9 kB / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2925, allocations: 25.7 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.2925, allocations: 88.09 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.2925, allocations: 0 / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.2926, allocations: 17.7 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2927, allocations: 318.8 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.2927, allocations: 3.938 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.2927, allocations: 4 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.2927, allocations: 12.8 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2927, allocations: 4.062 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.027e-05/0.2928, allocations: 29.7 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2928, allocations: 11.98 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2929, allocations: 0 / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2929, allocations: 3.938 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-05/0.2929, allocations: 0 / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2929, allocations: 0 / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.2929, allocations: 0 / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.2929, allocations: 4 kB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.983e-05/0.293, allocations: 193.1 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.2931, allocations: 104.9 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.2932, allocations: 116.1 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-05/0.2932, allocations: 176.5 kB / 1.247 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.837e-05/0.2933, allocations: 180.2 kB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/0.2934, allocations: 180.2 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.2936, allocations: 417.2 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-05/0.2937, allocations: 105 kB / 1.247 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.2937, allocations: 104.9 kB / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.619e-05/0.2938, allocations: 180.3 kB / 1.248 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.2939, allocations: 180.3 kB / 1.248 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-05/0.294, allocations: 188.2 kB / 1.248 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-05/0.294, allocations: 176.3 kB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.2942, allocations: 307.7 kB / 1.248 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.2943, allocations: 186.1 kB / 1.249 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.2943, allocations: 180.2 kB / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.2944, allocations: 105 kB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.2945, allocations: 184.2 kB / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.2946, allocations: 105 kB / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.2946, allocations: 87.27 kB / 1.249 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.2946, allocations: 0 / 1.249 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002673/0.2949, allocations: 27.88 kB / 1.249 GB, free: 1.688 MB / 0.9981 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 (0): * Single equations (assignments): 0 * 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.00069/0.2956, allocations: 0.8818 MB / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.2957, allocations: 4 kB / 1.25 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2957, allocations: 4.062 kB / 1.25 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.2957, allocations: 0 / 1.25 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.296, allocations: 466.3 kB / 1.251 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.2965, allocations: 257.6 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4904/0.787, allocations: 0.6747 MB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.7871, allocations: 4.125 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.7871, allocations: 11.83 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.7871, allocations: 0.9375 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5869/1.374, allocations: 1.663 MB / 1.253 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.85, allocations: 19.75 kB / 1.253 GB, free: 14.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches