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.006853/0.006853, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001755/0.001756, allocations: 192.5 kB / 16.67 MB, free: 5.973 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.74/2.74, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 69.33 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 162.2 MB / 1.241 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.TemperatureResponseMatrix): time 0.002154/0.2802, allocations: 1.232 MB / 1.243 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.2848, allocations: 2.922 MB / 1.246 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2848, allocations: 4 kB / 1.246 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2848, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.2872, allocations: 0.9499 MB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.2873, allocations: 0 / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.098e-05/0.2873, allocations: 11.98 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.2873, allocations: 0 / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.2874, allocations: 11.94 kB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.2874, allocations: 11.97 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.2874, allocations: 0 / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.2896, allocations: 1.42 MB / 1.248 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.2903, allocations: 0.7251 MB / 1.249 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.2914, allocations: 0.7116 MB / 1.249 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.295, allocations: 3.468 MB / 1.253 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.295, allocations: 0 / 1.253 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.295, allocations: 4 kB / 1.253 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.295, allocations: 0 / 1.253 GB, free: 13.78 MB / 0.9825 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.007325/0.3023, allocations: 4.266 MB / 1.257 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3024, allocations: 8.031 kB / 1.257 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.3025, allocations: 106 kB / 1.257 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007487/0.3032, allocations: 211.3 kB / 1.257 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.3067, allocations: 2.211 MB / 1.259 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/0.3068, allocations: 158.9 kB / 1.259 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.3069, allocations: 158.4 kB / 1.26 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.848e-05/0.307, allocations: 101 kB / 1.26 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.307, allocations: 75.28 kB / 1.26 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.3071, allocations: 154.6 kB / 1.26 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/0.3071, allocations: 150.6 kB / 1.26 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.131e-05/0.3072, allocations: 154.6 kB / 1.26 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.3092, allocations: 1.562 MB / 1.262 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.3093, allocations: 177.1 kB / 1.262 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.3093, allocations: 92.08 kB / 1.262 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3094, allocations: 79.28 kB / 1.262 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.3094, allocations: 105.8 kB / 1.262 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3094, allocations: 0 / 1.262 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0007158/0.3102, allocations: 168.7 kB / 1.262 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.3102, allocations: 126.7 kB / 1.262 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/0.3145, allocations: 2.418 MB / 1.265 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3146, allocations: 25.7 kB / 1.265 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/0.3151, allocations: 0.5621 MB / 1.265 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3151, allocations: 0 / 1.265 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.3152, allocations: 17.72 kB / 1.265 GB, free: 492 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3153, allocations: 306 kB / 1.266 GB, free: 180 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-06/0.3153, allocations: 0 / 1.266 GB, free: 180 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.3153, allocations: 0 / 1.266 GB, free: 180 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.3154, allocations: 75.28 kB / 1.266 GB, free: 104 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-05/0.3154, allocations: 75.28 kB / 1.266 GB, free: 28 kB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0007485/0.3161, allocations: 176.9 kB / 1.266 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.3162, allocations: 79.28 kB / 1.266 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.3162, allocations: 79.22 kB / 1.266 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-05/0.3163, allocations: 150.6 kB / 1.266 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.3163, allocations: 83.34 kB / 1.266 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-05/0.3164, allocations: 154.6 kB / 1.267 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.3173, allocations: 211.3 kB / 1.267 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3173, allocations: 83.2 kB / 1.267 GB, free: 15.02 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: 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.0005497/0.3179, allocations: 0.6405 MB / 1.267 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/0.3186, allocations: 232.1 kB / 1.268 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3188, allocations: 297.2 kB / 1.268 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/0.3189, allocations: 176.3 kB / 1.268 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/0.319, allocations: 192.2 kB / 1.268 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/0.3191, allocations: 180.2 kB / 1.268 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3202, allocations: 0.8551 MB / 1.269 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/0.3202, allocations: 108.9 kB / 1.269 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.3203, allocations: 105 kB / 1.27 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.857e-05/0.3204, allocations: 188.2 kB / 1.27 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.3204, allocations: 180.2 kB / 1.27 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.13e-05/0.3205, allocations: 176.3 kB / 1.27 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.965e-05/0.3206, allocations: 184.2 kB / 1.27 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.3214, allocations: 454.3 kB / 1.271 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/0.3231, allocations: 1.133 MB / 1.272 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008045/0.3239, allocations: 184.2 kB / 1.272 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.3247, allocations: 228.9 kB / 1.272 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.3248, allocations: 180.3 kB / 1.272 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.3249, allocations: 108.9 kB / 1.272 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003472/0.3283, allocations: 1.922 MB / 1.274 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3284, allocations: 4 kB / 1.274 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001567/0.3299, allocations: 423 kB / 1.275 GB, free: 6.719 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.002939/0.3329, allocations: 1.509 MB / 1.276 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.876e-05/0.3329, allocations: 3.938 kB / 1.276 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.333, allocations: 4 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-06/0.333, allocations: 11.98 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.3343, allocations: 0.5326 MB / 1.277 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/0.3631, allocations: 18.06 MB / 1.294 GB, free: 2.496 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.364, allocations: 1.136 MB / 1.295 GB, free: 1.332 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00485/0.3688, allocations: 1.932 MB / 1.297 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004154/0.373, allocations: 1.565 MB / 1.299 GB, free: 13.82 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.373, allocations: 0 / 1.299 GB, free: 13.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09191/0.4649, allocations: 52.79 MB / 1.35 GB, free: 9.203 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.67, allocations: 11.3 kB / 1.35 GB, free: 9.195 MB / 1.076 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]