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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 172.8 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.822/1.822, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 91.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.565e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3382, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.347, allocations: 154.6 MB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.347, allocations: 108.3 kB / 1.364 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02334/1.371, allocations: 9.292 MB / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/1.371, allocations: 3.844 kB / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.398e-05/1.371, allocations: 0 / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009043/1.372, allocations: 0.4953 MB / 1.373 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.372, allocations: 15.72 kB / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/1.372, allocations: 23.42 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.372, allocations: 194.2 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.372, allocations: 3.844 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/1.372, allocations: 11.69 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003756/1.376, allocations: 2.914 MB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/1.376, allocations: 302.4 kB / 1.376 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.376, allocations: 0 / 1.376 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/1.376, allocations: 3.984 kB / 1.376 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.376, allocations: 7.906 kB / 1.376 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/1.377, allocations: 341.7 kB / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/1.378, allocations: 485.5 kB / 1.377 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/1.378, allocations: 217 kB / 1.377 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/1.379, allocations: 1.463 MB / 1.379 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/1.379, allocations: 34.78 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/1.379, allocations: 3.906 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.001426/1.381, allocations: 0.5816 MB / 1.38 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.381, allocations: 59.38 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.381, allocations: 128.9 kB / 1.38 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/1.381, allocations: 25.7 kB / 1.38 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/1.381, allocations: 95.27 kB / 1.38 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.381, allocations: 147 kB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/1.381, allocations: 0 / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.381, allocations: 328.3 kB / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/1.382, allocations: 199.2 kB / 1.38 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.382, allocations: 199.4 kB / 1.381 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/1.383, allocations: 309.9 kB / 1.381 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.383, allocations: 0 / 1.381 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001257/1.384, allocations: 0.578 MB / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.384, allocations: 3.906 kB / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.384, allocations: 0 / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.384, allocations: 0 / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.384, allocations: 96.42 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/1.384, allocations: 7.672 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.706e-05/1.384, allocations: 19.59 kB / 1.382 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/1.384, allocations: 22.67 kB / 1.382 GB, free: 28.03 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001149/1.385, allocations: 113.9 kB / 1.382 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001249/1.386, allocations: 0.5848 MB / 1.382 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/1.386, allocations: 19.5 kB / 1.382 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/1.388, allocations: 0.9207 MB / 1.383 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.388, allocations: 11.8 kB / 1.383 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/1.388, allocations: 0 / 1.383 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.388, allocations: 3.984 kB / 1.383 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/1.388, allocations: 352.1 kB / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.388, allocations: 0 / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/1.389, allocations: 103.4 kB / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.389, allocations: 0 / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/1.389, allocations: 18.94 kB / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/1.389, allocations: 0 / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.389, allocations: 0 / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/1.39, allocations: 0.6411 MB / 1.384 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/1.39, allocations: 104.1 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/1.39, allocations: 0 / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/1.39, allocations: 7.906 kB / 1.384 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/1.39, allocations: 34.28 kB / 1.384 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/1.39, allocations: 26.77 kB / 1.384 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.945e-05/1.39, allocations: 106.8 kB / 1.385 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.39, allocations: 0 / 1.385 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007319/1.391, allocations: 200.9 kB / 1.385 GB, free: 26.73 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002308/1.393, allocations: 1.346 MB / 1.386 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006452/1.394, allocations: 482.5 kB / 1.387 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.394, allocations: 0 / 1.387 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002941/1.394, allocations: 267.8 kB / 1.387 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.395, allocations: 37.23 kB / 1.387 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.396, allocations: 0.5909 MB / 1.387 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/1.396, allocations: 0.7583 MB / 1.388 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005261/1.397, allocations: 343.5 kB / 1.388 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/1.397, allocations: 93.78 kB / 1.389 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of SimCode: time 1.382e-06/1.397, allocations: 0 / 1.389 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/1.424, allocations: 6.739 MB / 1.395 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.424, allocations: 218 kB / 1.395 GB, free: 21.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/3.268, allocations: 0 / 1.395 GB, free: 21.22 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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_res.mat does not exist to compare? outputFormat=mat