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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0008548/0.0008547, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009025/0.0009025, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 240 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7272, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.0007617/0.728, allocations: 297.9 kB / 0.9542 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.7301, allocations: 1.526 MB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.7301, allocations: 0 / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.7302, allocations: 3.938 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.7302, allocations: 1.375 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.7308, allocations: 153.1 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.7308, allocations: 24.84 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.7309, allocations: 1.188 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.533e-05/0.7309, allocations: 12.05 kB / 0.9559 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.731, allocations: 4.156 kB / 0.9559 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.731, allocations: 1.625 kB / 0.9559 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.7315, allocations: 291.3 kB / 0.9561 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.7315, allocations: 8.188 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.7316, allocations: 31.08 kB / 0.9562 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.7317, allocations: 105 kB / 0.9563 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7317, allocations: 0 / 0.9563 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7317, allocations: 0 / 0.9563 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.7317, allocations: 0 / 0.9563 GB, free: 6.32 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.0002687/0.732, allocations: 356.9 kB / 0.9566 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7321, allocations: 9.281 kB / 0.9566 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.7321, allocations: 35.78 kB / 0.9567 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.7328, allocations: 81.44 kB / 0.9567 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.7329, allocations: 177.1 kB / 0.9569 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.733, allocations: 1.062 kB / 0.9569 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.733, allocations: 1.125 kB / 0.9569 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.7331, allocations: 80.48 kB / 0.957 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7332, allocations: 7.984 kB / 0.957 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.7332, allocations: 5.281 kB / 0.957 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7332, allocations: 0 / 0.957 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.7334, allocations: 85.2 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.7336, allocations: 183.3 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.7337, allocations: 87.05 kB / 0.9573 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.7338, allocations: 42.17 kB / 0.9574 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.7338, allocations: 4 kB / 0.9574 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7338, allocations: 32.5 kB / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.7338, allocations: 0 / 0.9574 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003031/0.7341, allocations: 147.8 kB / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.7342, allocations: 52.44 kB / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.7342, allocations: 101.2 kB / 0.9577 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.7343, allocations: 30.89 kB / 0.9577 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/0.7343, allocations: 81.23 kB / 0.9578 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.7343, allocations: 26.05 kB / 0.9578 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.7343, allocations: 0 / 0.9578 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.7344, allocations: 312.1 kB / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.7344, allocations: 31.38 kB / 0.9582 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.7345, allocations: 32.53 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.7346, allocations: 32.66 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7346, allocations: 0 / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.7348, allocations: 111.1 kB / 0.9583 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7348, allocations: 4.156 kB / 0.9583 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7348, allocations: 13.05 kB / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7348, allocations: 0 / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.735, allocations: 18.81 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.735, allocations: 3.953 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.7351, allocations: 12.62 kB / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.7351, allocations: 5.672 kB / 0.9584 GB, free: 4.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.154e-05/0.7352, allocations: 108.8 kB / 0.9585 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.7352, allocations: 10.69 kB / 0.9585 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.7356, allocations: 215.8 kB / 0.9587 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7356, allocations: 2.438 kB / 0.9587 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7356, allocations: 7.922 kB / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7356, allocations: 5.422 kB / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.7357, allocations: 211.1 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7357, allocations: 3.938 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.7359, allocations: 25.7 kB / 0.9589 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7359, allocations: 5.75 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.7359, allocations: 1.812 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7359, allocations: 0 / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7359, allocations: 3.953 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.7362, allocations: 194.2 kB / 0.9591 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.7362, allocations: 91.73 kB / 0.9592 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.7362, allocations: 1.375 kB / 0.9592 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.7363, allocations: 5.375 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.7363, allocations: 17.44 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.7364, allocations: 2.75 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.7364, allocations: 92.77 kB / 0.9593 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7364, allocations: 0 / 0.9593 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002814/0.7367, allocations: 64.25 kB / 0.9594 GB, free: 3.441 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 (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.0006651/0.7374, allocations: 0.8106 MB / 0.9602 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.7376, allocations: 102.8 kB / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7376, allocations: 0 / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.7377, allocations: 74.61 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.7379, allocations: 6.562 kB / 0.9604 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.7384, allocations: 294 kB / 0.9607 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.7385, allocations: 0.6948 MB / 0.9613 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.995e-05/0.7386, allocations: 30.22 kB / 0.9614 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.7387, allocations: 26.42 kB / 0.9614 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7387, allocations: 0 / 0.9614 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.7523, allocations: 3.368 MB / 0.9647 GB, free: 120 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.7525, allocations: 281.4 kB / 0.9649 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.394, allocations: 2.25 kB / 0.9649 GB, free: 15.76 MB / 0.7325 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/linux/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