Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FiniteLineSource_Integrand_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent",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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001676/0.001676, allocations: 195.7 kB / 16.14 MB, free: 6.699 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 69.53 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2504, allocations: 157.4 MB / 1.052 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent): time 0.002321/0.2527, allocations: 1.423 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2539, allocations: 0.7985 MB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.2539, allocations: 0 / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.254, allocations: 0 / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2542, allocations: 15.91 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2545, allocations: 135.7 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.2546, allocations: 63.77 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.2546, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.2547, allocations: 23.91 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.2547, allocations: 23.86 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2548, allocations: 4 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.2551, allocations: 199.6 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.2552, allocations: 11.98 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.2552, allocations: 23.75 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.2555, allocations: 163.9 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2555, allocations: 4 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2555, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2555, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003446/0.2558, allocations: 383.2 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2559, allocations: 11.97 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.2559, allocations: 30.75 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.2559, allocations: 4.938 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2561, allocations: 176.2 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.2561, allocations: 4.375 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2561, allocations: 4.375 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2562, allocations: 57.8 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.2562, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2562, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2562, allocations: 3.984 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.2563, allocations: 43.92 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.2565, allocations: 177.7 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.912e-05/0.2566, allocations: 50.56 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.2566, allocations: 28.94 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.2567, allocations: 8 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2567, allocations: 34.5 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2567, allocations: 0 / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.2569, allocations: 101.5 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.2569, allocations: 51.41 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.257, allocations: 113.8 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.257, allocations: 29.7 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.2571, allocations: 92.14 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2571, allocations: 11.8 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.2572, allocations: 17.72 kB / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.2573, allocations: 318.8 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.2573, allocations: 19.98 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.2573, allocations: 15.98 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.2574, allocations: 40.84 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2574, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.2575, allocations: 85.55 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2575, allocations: 4 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2575, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2576, allocations: 4 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.2576, allocations: 4 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2576, allocations: 4 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.2576, allocations: 0 / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2577, allocations: 3.938 kB / 1.057 GB, free: 3.098 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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 6.733e-05/0.2577, allocations: 117.8 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.2578, allocations: 15.84 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2579, allocations: 97.39 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.2579, allocations: 4.375 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.258, allocations: 3.984 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.258, allocations: 0 / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2581, allocations: 177.6 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.2581, allocations: 3.984 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.2581, allocations: 11.94 kB / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2581, allocations: 0 / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2581, allocations: 4 kB / 1.057 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2582, allocations: 4 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2582, allocations: 3.984 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.2583, allocations: 101 kB / 1.057 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.2583, allocations: 89.03 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2583, allocations: 7.938 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.2584, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.2584, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2584, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.2584, allocations: 95.27 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2584, allocations: 3.938 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002393/0.2587, allocations: 47.98 kB / 1.058 GB, free: 2.219 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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.0005604/0.2592, allocations: 0.7029 MB / 1.058 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2594, allocations: 51.91 kB / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2594, allocations: 0 / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.2594, allocations: 23.98 kB / 1.058 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2596, allocations: 8.766 kB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.26, allocations: 201.4 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2603, allocations: 0.6887 MB / 1.059 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.2603, allocations: 14.67 kB / 1.059 GB, free: 452 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.2603, allocations: 23.38 kB / 1.059 GB, free: 428 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2603, allocations: 0 / 1.059 GB, free: 428 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.2819, allocations: 2.564 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.2822, allocations: 312.4 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.855, allocations: 4 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent_fmu --startTime=0.01 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent_res.mat does not exist to compare? outputFormat=mat