Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_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_latest_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.001423/0.001424, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00193/0.00193, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.461/2.461, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.143/5.143, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007193/0.0007194, allocations: 11.98 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474/1.475, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001373/1.476, allocations: 304.8 kB / 0.9812 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004525/1.481, allocations: 1.54 MB / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/1.481, allocations: 0 / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/1.481, allocations: 0 / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/1.481, allocations: 3.984 kB / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/1.482, allocations: 147.6 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/1.482, allocations: 15.98 kB / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/1.482, allocations: 0 / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/1.482, allocations: 11.94 kB / 0.9829 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/1.483, allocations: 15.97 kB / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/1.483, allocations: 4 kB / 0.9829 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/1.484, allocations: 283.5 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/1.484, allocations: 11.98 kB / 0.9832 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/1.484, allocations: 25.7 kB / 0.9832 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/1.484, allocations: 103.8 kB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.484, allocations: 3.938 kB / 0.9833 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.975e-06/1.484, allocations: 0 / 0.9833 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.749e-06/1.484, allocations: 4 kB / 0.9833 GB, free: 3.84 MB / 0.7325 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.0006155/1.485, allocations: 361.6 kB / 0.9837 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/1.485, allocations: 11.98 kB / 0.9837 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.115e-05/1.485, allocations: 38.5 kB / 0.9837 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/1.486, allocations: 75.83 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/1.486, allocations: 167 kB / 0.9839 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.486, allocations: 0 / 0.9839 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/1.486, allocations: 0 / 0.9839 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/1.487, allocations: 85.55 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.487, allocations: 0 / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/1.487, allocations: 4 kB / 0.984 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.487, allocations: 0 / 0.984 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/1.487, allocations: 87.88 kB / 0.9841 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/1.487, allocations: 193.4 kB / 0.9843 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/1.488, allocations: 86.5 kB / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/1.488, allocations: 0 / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.488, allocations: 34.52 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/1.488, allocations: 0 / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0005815/1.488, allocations: 149.5 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.488, allocations: 51.41 kB / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/1.489, allocations: 105.9 kB / 0.9847 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/1.489, allocations: 25.7 kB / 0.9847 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/1.489, allocations: 92.12 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/1.489, allocations: 11.8 kB / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/1.489, allocations: 0 / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002695/1.489, allocations: 318.8 kB / 0.9851 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.489, allocations: 27.97 kB / 0.9851 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/1.49, allocations: 31.95 kB / 0.9852 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.49, allocations: 39.98 kB / 0.9852 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.49, allocations: 0 / 0.9852 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004386/1.49, allocations: 109.6 kB / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/1.49, allocations: 7.953 kB / 0.9853 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.49, allocations: 0 / 0.9853 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.49, allocations: 3.938 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/1.491, allocations: 19.97 kB / 0.9853 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.491, allocations: 0 / 0.9853 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/1.491, allocations: 4 kB / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.491, allocations: 3.984 kB / 0.9854 GB, free: 1.516 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.491, allocations: 121.8 kB / 0.9855 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/1.491, allocations: 7.906 kB / 0.9855 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000862/1.492, allocations: 227 kB / 0.9857 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.492, allocations: 4 kB / 0.9857 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.492, allocations: 0 / 0.9857 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.492, allocations: 7.938 kB / 0.9857 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/1.493, allocations: 209.6 kB / 0.9859 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.493, allocations: 0 / 0.9859 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/1.493, allocations: 23.98 kB / 0.9859 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.493, allocations: 3.953 kB / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/1.493, allocations: 11.98 kB / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.493, allocations: 0 / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.493, allocations: 0 / 0.9859 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/1.494, allocations: 192.9 kB / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/1.494, allocations: 85.02 kB / 0.9862 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/1.494, allocations: 7.953 kB / 0.9862 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.494, allocations: 4 kB / 0.9862 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/1.494, allocations: 7.984 kB / 0.9862 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/1.494, allocations: 8 kB / 0.9862 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.723e-05/1.494, allocations: 83.27 kB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of sort global known variables: time 3.9e-07/1.494, allocations: 0 / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006486/1.495, allocations: 64 kB / 0.9864 GB, free: 380 kB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/1.497, allocations: 0.8087 MB / 0.9872 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003877/1.497, allocations: 103.9 kB / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.497, allocations: 0 / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/1.497, allocations: 80.75 kB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.497, allocations: 7.953 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.499, allocations: 284.5 kB / 0.9876 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/1.499, allocations: 0.7004 MB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001999/1.499, allocations: 32.28 kB / 0.9883 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.499, allocations: 23.42 kB / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.499, allocations: 0 / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/1.565, allocations: 3.348 MB / 0.9916 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004872/1.565, allocations: 274.5 kB / 0.9919 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/5.089, allocations: 2.672 kB / 0.9919 GB, free: 10.8 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat