Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.000946/0.0009461, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009474/0.0009475, allocations: 177.3 kB / 15.94 MB, free: 228 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.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.262 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.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 8 kB / 0.8147 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7373, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002159/0.7395, allocations: 1.379 MB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005628/0.7452, allocations: 3.793 MB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.7454, allocations: 1.656 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.7467, allocations: 352.6 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.7469, allocations: 48.94 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.7494, allocations: 0.7173 MB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.7497, allocations: 103.7 kB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.7497, allocations: 8.438 kB / 0.9599 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.7498, allocations: 55.14 kB / 0.9599 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.75, allocations: 155.9 kB / 0.9601 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.7501, allocations: 14.12 kB / 0.9601 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.7522, allocations: 1.264 MB / 0.9613 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.7524, allocations: 251.3 kB / 0.9616 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.7526, allocations: 127.9 kB / 0.9617 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.754, allocations: 1.031 MB / 0.9627 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.754, allocations: 0 / 0.9627 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.754, allocations: 0 / 0.9627 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.754, allocations: 4.938 kB / 0.9627 GB, free: 1.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01043/0.7645, allocations: 1.229 MB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.7645, allocations: 8.719 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.7646, allocations: 35.52 kB / 0.9639 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.765, allocations: 94.05 kB / 0.964 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.7656, allocations: 402 kB / 0.9644 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.7656, allocations: 6.453 kB / 0.9644 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.7656, allocations: 8.312 kB / 0.9644 GB, free: 260 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.7661, allocations: 386 kB / 0.9648 GB, free: 140 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7662, allocations: 0 / 0.9648 GB, free: 140 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.7662, allocations: 13.23 kB / 0.9648 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7662, allocations: 1.125 kB / 0.9648 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.7668, allocations: 433.4 kB / 0.9652 GB, free: 56 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.7676, allocations: 0.6585 MB / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.7683, allocations: 0.5609 MB / 0.9664 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.7695, allocations: 1.049 MB / 0.9674 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.77, allocations: 402.5 kB / 0.9678 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.77, allocations: 0 / 0.9678 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001822/0.7719, allocations: 1.299 MB / 0.9691 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.7719, allocations: 79.8 kB / 0.9692 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.7734, allocations: 1.278 MB / 0.9704 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.7735, allocations: 30.67 kB / 0.9704 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.7737, allocations: 281.4 kB / 0.9707 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.7738, allocations: 27.28 kB / 0.9707 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.7738, allocations: 0 / 0.9707 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.774, allocations: 425.2 kB / 0.9711 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.7755, allocations: 1.362 MB / 0.9725 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.777, allocations: 1.495 MB / 0.9739 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.7788, allocations: 1.887 MB / 0.9758 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7788, allocations: 0 / 0.9758 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004375/0.7832, allocations: 3.957 MB / 0.9796 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7832, allocations: 4 kB / 0.9796 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7833, allocations: 4 kB / 0.9796 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7833, allocations: 0 / 0.9796 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.7834, allocations: 23.92 kB / 0.9797 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7835, allocations: 0 / 0.9797 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.7842, allocations: 224.4 kB / 0.9799 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.7843, allocations: 23.94 kB / 0.9799 GB, free: 4.656 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003265/0.7846, allocations: 253.7 kB / 0.9801 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.7847, allocations: 70.69 kB / 0.9802 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.785, allocations: 83.66 kB / 0.9803 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.785, allocations: 3.938 kB / 0.9803 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.785, allocations: 8 kB / 0.9803 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.785, allocations: 3.969 kB / 0.9803 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.7855, allocations: 0.5254 MB / 0.9808 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7855, allocations: 0 / 0.9808 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.7856, allocations: 8 kB / 0.9808 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7856, allocations: 0 / 0.9808 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.7856, allocations: 7.984 kB / 0.9808 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7856, allocations: 0 / 0.9808 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7856, allocations: 0 / 0.9808 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.7867, allocations: 1.025 MB / 0.9818 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.7869, allocations: 159.8 kB / 0.982 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.7869, allocations: 4 kB / 0.982 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.7871, allocations: 0 / 0.982 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.7871, allocations: 7.984 kB / 0.982 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.7872, allocations: 19.98 kB / 0.982 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008407/0.788, allocations: 0.7062 MB / 0.9827 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.788, allocations: 0 / 0.9827 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00138/0.7894, allocations: 407.8 kB / 0.9831 GB, free: 1.258 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002626/0.7921, allocations: 2.004 MB / 0.9851 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.7944, allocations: 2.495 MB / 0.9875 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7944, allocations: 0 / 0.9875 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.7947, allocations: 339.8 kB / 0.9878 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.7951, allocations: 56.61 kB / 0.9879 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.7983, allocations: 2.733 MB / 0.9905 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.7988, allocations: 1.008 MB / 0.9915 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.799, allocations: 41.36 kB / 0.9916 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.7994, allocations: 283.3 kB / 0.9918 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of SimCode: time 6.32e-07/0.7994, allocations: 0 / 0.9918 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.8322, allocations: 17.64 MB / 1.009 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/0.8325, allocations: 267.1 kB / 1.009 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.298, allocations: 0 / 1.009 GB, free: 6.457 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat does not exist to compare? outputFormat=mat