Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.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.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_TemperatureResponseMatrix",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.001879/0.001879, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 482.6 MB / 0.7549 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 72.09 kB / 0.9242 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2663, allocations: 162.3 MB / 1.083 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix): time 0.002335/0.2686, allocations: 1.241 MB / 1.084 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.273, allocations: 2.928 MB / 1.087 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.2731, allocations: 0 / 1.087 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.2731, allocations: 3.984 kB / 1.087 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.2752, allocations: 0.9425 MB / 1.088 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.2752, allocations: 0 / 1.088 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.2753, allocations: 15.86 kB / 1.088 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 2.819e-05/0.2753, allocations: 0 / 1.088 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.2753, allocations: 8 kB / 1.088 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.2754, allocations: 11.97 kB / 1.088 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.2754, allocations: 0 / 1.088 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.2774, allocations: 1.404 MB / 1.089 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.2779, allocations: 0.7251 MB / 1.09 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.279, allocations: 0.7116 MB / 1.091 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.2822, allocations: 3.439 MB / 1.094 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2822, allocations: 0 / 1.094 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2822, allocations: 0 / 1.094 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.2822, allocations: 4 kB / 1.094 GB, free: 1.344 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.006976/0.2892, allocations: 4.206 MB / 1.098 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2892, allocations: 8.031 kB / 1.098 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.2893, allocations: 106 kB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000725/0.29, allocations: 206.5 kB / 1.098 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.2937, allocations: 2.201 MB / 1.1 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.2938, allocations: 158.9 kB / 1.101 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.2938, allocations: 158.5 kB / 1.101 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.851e-05/0.2939, allocations: 105 kB / 1.101 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.2939, allocations: 75.28 kB / 1.101 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.294, allocations: 150.6 kB / 1.101 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.2941, allocations: 150.6 kB / 1.101 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.2941, allocations: 154.6 kB / 1.101 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.2961, allocations: 1.566 MB / 1.103 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/0.2962, allocations: 169.1 kB / 1.103 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.2963, allocations: 80.14 kB / 1.103 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.2963, allocations: 79.28 kB / 1.103 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.2964, allocations: 105.8 kB / 1.103 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2964, allocations: 0 / 1.103 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0008417/0.2972, allocations: 167.9 kB / 1.103 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.2973, allocations: 126.7 kB / 1.104 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/0.3015, allocations: 2.414 MB / 1.106 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3015, allocations: 25.7 kB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.3021, allocations: 0.566 MB / 1.107 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.3021, allocations: 0 / 1.107 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.3022, allocations: 13.72 kB / 1.107 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3023, allocations: 306 kB / 1.107 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.3023, allocations: 0 / 1.107 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.3023, allocations: 0 / 1.107 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.3024, allocations: 75.28 kB / 1.107 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/0.3024, allocations: 75.28 kB / 1.107 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0007264/0.3031, allocations: 171.8 kB / 1.107 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.3032, allocations: 84.69 kB / 1.107 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/0.3032, allocations: 79.28 kB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.582e-05/0.3033, allocations: 150.6 kB / 1.107 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.671e-05/0.3034, allocations: 83.22 kB / 1.108 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.729e-05/0.3034, allocations: 150.7 kB / 1.108 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.3043, allocations: 211.2 kB / 1.108 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.3044, allocations: 79.28 kB / 1.108 GB, free: 2.688 MB / 0.8575 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 (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 prepare postOptimizeDAE: time 0.0005802/0.305, allocations: 0.6329 MB / 1.109 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/0.3057, allocations: 235.3 kB / 1.109 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.3059, allocations: 304.9 kB / 1.109 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.19e-05/0.306, allocations: 180.3 kB / 1.109 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-05/0.3061, allocations: 192.2 kB / 1.109 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.132e-05/0.3062, allocations: 176.3 kB / 1.11 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3073, allocations: 0.8551 MB / 1.11 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.846e-05/0.3074, allocations: 108.9 kB / 1.111 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.3074, allocations: 109 kB / 1.111 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-05/0.3075, allocations: 180.2 kB / 1.111 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.3076, allocations: 180.3 kB / 1.111 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.79e-05/0.3077, allocations: 180.2 kB / 1.111 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.187e-05/0.3078, allocations: 184.2 kB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.3086, allocations: 437.6 kB / 1.112 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.3105, allocations: 1.136 MB / 1.113 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008345/0.3114, allocations: 192.2 kB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.3123, allocations: 225 kB / 1.113 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.3123, allocations: 180.3 kB / 1.113 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.3124, allocations: 104.9 kB / 1.114 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003313/0.3157, allocations: 1.918 MB / 1.115 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3157, allocations: 4 kB / 1.115 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001474/0.3172, allocations: 415.9 kB / 1.116 GB, free: 10.4 MB / 0.8731 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.002831/0.32, allocations: 1.494 MB / 1.117 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.96e-05/0.3201, allocations: 11.92 kB / 1.117 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3201, allocations: 0 / 1.117 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.3201, allocations: 4 kB / 1.117 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.3214, allocations: 0.5351 MB / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02899/0.3504, allocations: 20.28 MB / 1.138 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/0.3513, allocations: 1.132 MB / 1.139 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006592/0.3579, allocations: 1.932 MB / 1.141 GB, free: 200 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004594/0.3625, allocations: 1.573 MB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.3625, allocations: 0 / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08996/0.4525, allocations: 52.47 MB / 1.193 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/8.951, allocations: 14.5 kB / 1.193 GB, free: 10.25 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Error getting time from reference file " Variables in the reference:time,kappa[2,2,1],kappa[2,2,2],kappa[2,2,3],kappa[2,2,4],kappa[2,2,5],kappa[2,2,6],kappa[2,2,7],kappa[1,4,1],kappa[1,4,2],kappa[1,4,3],kappa[1,4,4],kappa[1,4,5],kappa[1,4,6],kappa[1,4,7],kappa[7,6,1],kappa[7,6,2],kappa[7,6,3],kappa[7,6,4],kappa[7,6,5],kappa[7,6,6],kappa[7,6,7] Variables in the result:time,kappa[1,1,1],kappa[1,1,2],kappa[1,1,3],kappa[1,1,4],kappa[1,1,5]