Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001697/0.001697, 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.001975/0.001975, allocations: 195.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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 0.8127 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5349, allocations: 140.4 MB / 0.9498 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001577/0.5365, allocations: 0.5734 MB / 0.9503 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.5381, allocations: 1.59 MB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.5381, allocations: 5.25 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.5381, allocations: 0 / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.5382, allocations: 1.5 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.5387, allocations: 197.4 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.5388, allocations: 30.81 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.5388, allocations: 1.188 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.5389, allocations: 11.92 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.232e-05/0.5389, allocations: 2.531 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.5389, allocations: 1.25 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.5393, allocations: 276.9 kB / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.5393, allocations: 11.75 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.5394, allocations: 10.14 kB / 0.9524 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.5396, allocations: 167.5 kB / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5396, allocations: 0 / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5396, allocations: 0 / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5396, allocations: 0 / 0.9526 GB, free: 7.012 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002569/0.5399, allocations: 363.5 kB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.5399, allocations: 8.625 kB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.5399, allocations: 40.41 kB / 0.953 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.5407, allocations: 73.27 kB / 0.953 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.5408, allocations: 170.9 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5408, allocations: 1.656 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.5409, allocations: 9.5 kB / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.541, allocations: 83.91 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.541, allocations: 1.188 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.541, allocations: 0 / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.541, allocations: 1.156 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.5412, allocations: 80.78 kB / 0.9534 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.5414, allocations: 200.9 kB / 0.9536 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.5415, allocations: 86.44 kB / 0.9536 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.5416, allocations: 43.2 kB / 0.9537 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5416, allocations: 3.938 kB / 0.9537 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.5416, allocations: 35.81 kB / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.5416, allocations: 0 / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002914/0.5419, allocations: 145.5 kB / 0.9539 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.542, allocations: 52.53 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.743e-05/0.542, allocations: 105.5 kB / 0.954 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.542, allocations: 25.7 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.5421, allocations: 85.36 kB / 0.9541 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5421, allocations: 13.88 kB / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.5421, allocations: 24.56 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.5422, allocations: 319.8 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.5422, allocations: 31.19 kB / 0.9545 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.5423, allocations: 31.25 kB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.5424, allocations: 73.34 kB / 0.9546 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5424, allocations: 0 / 0.9546 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.5426, allocations: 130 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5426, allocations: 4.469 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5427, allocations: 1.031 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5427, allocations: 0 / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.5429, allocations: 18.62 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5429, allocations: 1.125 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.543, allocations: 3.062 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.543, allocations: 6.172 kB / 0.9547 GB, free: 4.961 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 (5): * Single equations (assignments): 5 * 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 5.348e-05/0.5431, allocations: 120.8 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.5431, allocations: 6.531 kB / 0.9549 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.5434, allocations: 215.3 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5434, allocations: 2.219 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5434, allocations: 0 / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5435, allocations: 1.156 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.5436, allocations: 215 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5436, allocations: 0.6875 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5437, allocations: 37.44 kB / 0.9553 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5438, allocations: 1.031 kB / 0.9553 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5438, allocations: 5.125 kB / 0.9553 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.5438, allocations: 5.016 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5438, allocations: 0.9688 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.544, allocations: 192.6 kB / 0.9555 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.544, allocations: 92.14 kB / 0.9556 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.5441, allocations: 5.5 kB / 0.9556 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.5442, allocations: 9.312 kB / 0.9556 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.5442, allocations: 9.328 kB / 0.9556 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.5442, allocations: 6.812 kB / 0.9556 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.286e-05/0.5442, allocations: 84.92 kB / 0.9557 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5442, allocations: 0 / 0.9557 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002881/0.5445, allocations: 64.31 kB / 0.9558 GB, free: 4.086 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 (16): * Single equations (assignments): 16 * 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.0005869/0.5451, allocations: 0.8131 MB / 0.9566 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.5453, allocations: 119.4 kB / 0.9567 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5453, allocations: 0 / 0.9567 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.5454, allocations: 73.09 kB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.5456, allocations: 7.562 kB / 0.9567 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.5461, allocations: 268.3 kB / 0.957 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.5462, allocations: 0.6953 MB / 0.9577 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.894e-05/0.5463, allocations: 30.94 kB / 0.9577 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.5464, allocations: 31.41 kB / 0.9577 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5464, allocations: 0 / 0.9577 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.5647, allocations: 3.621 MB / 0.9613 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.847, allocations: 6.125 kB / 0.9613 GB, free: 0.5078 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat