Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.351/2.351, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001903/0.001904, allocations: 176.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0009701/0.00097, allocations: 91.33 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.991e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.637, allocations: 151.8 MB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004671/1.638, allocations: 102 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007715/1.645, allocations: 2.142 MB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.434e-06/1.645, allocations: 0 / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of Transformations before backend: time 8.235e-06/1.645, allocations: 0 / 1.369 GB, free: 356 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003727/1.646, allocations: 332.5 kB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/1.646, allocations: 8.031 kB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/1.646, allocations: 30.56 kB / 1.37 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/1.646, allocations: 3.938 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/1.646, allocations: 171 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.646, allocations: 0 / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/1.646, allocations: 0 / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/1.646, allocations: 29.7 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.646, allocations: 0 / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/1.646, allocations: 4 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.646, allocations: 0 / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/1.646, allocations: 3.938 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/1.647, allocations: 468.5 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/1.647, allocations: 169.1 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/1.647, allocations: 84.14 kB / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/1.647, allocations: 83.16 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.384e-05/1.647, allocations: 109.8 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/1.647, allocations: 0 / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.005e-05/1.647, allocations: 29.64 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/1.647, allocations: 133.6 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.648, allocations: 101.8 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.648, allocations: 25.7 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/1.648, allocations: 95.84 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/1.648, allocations: 0 / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/1.648, allocations: 0 / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.648, allocations: 310.8 kB / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/1.648, allocations: 0 / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-06/1.648, allocations: 4 kB / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/1.648, allocations: 4.062 kB / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.648, allocations: 0 / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/1.648, allocations: 33.7 kB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.648, allocations: 7.938 kB / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.648, allocations: 3.984 kB / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.648, allocations: 0 / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/1.648, allocations: 0 / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.648, allocations: 0 / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/1.648, allocations: 3.953 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/1.648, allocations: 4 kB / 1.371 GB, free: 13.92 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: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001118/1.648, allocations: 184 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/1.648, allocations: 101.9 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/1.648, allocations: 112 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.047e-05/1.649, allocations: 181 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.069e-05/1.649, allocations: 176.3 kB / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.227e-05/1.649, allocations: 187.5 kB / 1.372 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/1.649, allocations: 409.2 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.509e-05/1.649, allocations: 104.9 kB / 1.373 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/1.649, allocations: 105 kB / 1.373 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.969e-05/1.649, allocations: 184 kB / 1.373 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/1.649, allocations: 180.2 kB / 1.373 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.369e-05/1.649, allocations: 184.2 kB / 1.373 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-05/1.649, allocations: 180.2 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/1.65, allocations: 307.1 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/1.65, allocations: 190 kB / 1.374 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/1.65, allocations: 184.1 kB / 1.374 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/1.65, allocations: 104.9 kB / 1.374 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/1.65, allocations: 180.3 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/1.65, allocations: 102 kB / 1.375 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.716e-05/1.65, allocations: 91.14 kB / 1.375 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.31e-07/1.65, allocations: 0 / 1.375 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003664/1.651, allocations: 22.94 kB / 1.375 GB, free: 10.33 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 (0): * Single equations (assignments): 0 * 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.0008844/1.651, allocations: 0.8631 MB / 1.376 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.522e-05/1.652, allocations: 7.938 kB / 1.376 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.652, allocations: 0 / 1.376 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/1.652, allocations: 4 kB / 1.376 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/1.652, allocations: 0.5261 MB / 1.376 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/1.657, allocations: 1.149 MB / 1.377 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.657, allocations: 0.677 MB / 1.378 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.562e-05/1.657, allocations: 4 kB / 1.378 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/1.657, allocations: 15 kB / 1.378 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of SimCode: time 8.71e-07/1.657, allocations: 0 / 1.378 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.034/3.691, allocations: 1.327 MB / 1.379 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003741/3.691, allocations: 267.4 kB / 1.379 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/5.28, allocations: 0 / 1.379 GB, free: 5.688 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat does not exist to compare? outputFormat=mat