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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009874, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 15.98 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6456/0.6459, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007163/0.6467, allocations: 300.7 kB / 0.9815 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.648, allocations: 0.9783 MB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.648, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.648, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.6488, allocations: 87.84 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.638e-05/0.6488, allocations: 11.98 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.6489, allocations: 4 kB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.6489, allocations: 0 / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.6489, allocations: 7.938 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.6492, allocations: 39.95 kB / 0.9826 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.6492, allocations: 0 / 0.9826 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.6493, allocations: 67.88 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.787e-06/0.6494, allocations: 3.984 kB / 0.9826 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.6494, allocations: 25.7 kB / 0.9827 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.6495, allocations: 50.19 kB / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6495, allocations: 0 / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6495, allocations: 0 / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6495, allocations: 4 kB / 0.9827 GB, free: 4.695 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003003/0.6498, allocations: 336.9 kB / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6499, allocations: 8.031 kB / 0.983 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.6499, allocations: 30.56 kB / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.65, allocations: 4 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.6501, allocations: 163 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.6501, allocations: 0 / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.6501, allocations: 0 / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.6502, allocations: 41.64 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6502, allocations: 0 / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.6502, allocations: 0 / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.6503, allocations: 0 / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.6503, allocations: 4 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.6507, allocations: 456.6 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.6508, allocations: 181 kB / 0.9839 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.6509, allocations: 84.17 kB / 0.984 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.6509, allocations: 75.28 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.6509, allocations: 105.8 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.651, allocations: 0 / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.612e-05/0.651, allocations: 33.62 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.6511, allocations: 134.6 kB / 0.9843 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.6512, allocations: 101.9 kB / 0.9844 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.6512, allocations: 29.64 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.6513, allocations: 84.08 kB / 0.9845 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.6513, allocations: 0 / 0.9845 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.6513, allocations: 0 / 0.9845 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6514, allocations: 318.8 kB / 0.9848 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.6514, allocations: 4 kB / 0.9848 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.6514, allocations: 0 / 0.9848 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.6514, allocations: 4.062 kB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6515, allocations: 0 / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001048/0.6516, allocations: 37.66 kB / 0.9848 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6516, allocations: 5.406 kB / 0.9849 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6516, allocations: 0 / 0.9849 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6516, allocations: 3.938 kB / 0.9849 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.6516, allocations: 0 / 0.9849 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6516, allocations: 4 kB / 0.9849 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.6517, allocations: 3.906 kB / 0.9849 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.6517, allocations: 8.016 kB / 0.9849 GB, free: 2.23 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked 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 8.478e-05/0.6518, allocations: 181.1 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.6518, allocations: 112.9 kB / 0.9852 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.6519, allocations: 108 kB / 0.9853 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/0.6519, allocations: 176.3 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/0.652, allocations: 184.3 kB / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.489e-05/0.6521, allocations: 192.2 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.6523, allocations: 397.2 kB / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.6523, allocations: 108.9 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.6524, allocations: 105 kB / 0.9864 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.024e-05/0.6524, allocations: 176.5 kB / 0.9865 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.6525, allocations: 188.3 kB / 0.9867 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.004e-05/0.6526, allocations: 176.3 kB / 0.9869 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.207e-05/0.6527, allocations: 192.2 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.6528, allocations: 303.8 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.6529, allocations: 186 kB / 0.9875 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.6529, allocations: 184.2 kB / 0.9877 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.653, allocations: 112.9 kB / 0.9878 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.6531, allocations: 176.3 kB / 0.988 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.6531, allocations: 101 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.6532, allocations: 91.2 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6532, allocations: 3.938 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000272/0.6535, allocations: 24 kB / 0.9882 GB, free: 14.61 MB / 0.7481 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 (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.0006318/0.6541, allocations: 0.8571 MB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.117e-05/0.6542, allocations: 0 / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6542, allocations: 4 kB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.6542, allocations: 3.938 kB / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.6546, allocations: 0.5214 MB / 0.9895 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.6551, allocations: 235.7 kB / 0.9898 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.6554, allocations: 0.677 MB / 0.9904 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.6554, allocations: 0 / 0.9904 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.6554, allocations: 17 kB / 0.9904 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.6554, allocations: 0 / 0.9904 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.6672, allocations: 1.332 MB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.6675, allocations: 305 kB / 0.992 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.401, allocations: 1.719 kB / 0.992 GB, free: 10.75 MB / 0.7481 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) Environment - environmentSimulation: 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