Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.001311/0.001311, allocations: 99.86 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.001727/0.001727, 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 2.363/2.363, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.294/4.294, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005994/0.0005995, allocations: 16 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443/1.444, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.004236/1.448, allocations: 1.799 MB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004397/1.453, allocations: 2.099 MB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/1.453, allocations: 3.938 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/1.455, allocations: 414.6 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/1.456, allocations: 79.77 kB / 0.9852 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/1.456, allocations: 82.33 kB / 0.9853 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001057/1.457, allocations: 0.5148 MB / 0.9858 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/1.457, allocations: 44.27 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/1.458, allocations: 235.5 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/1.459, allocations: 275.4 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/1.459, allocations: 28 kB / 0.9863 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/1.459, allocations: 31.94 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003555/1.459, allocations: 183.5 kB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/1.46, allocations: 101.5 kB / 0.9866 GB, free: 420 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009061/1.461, allocations: 0.5571 MB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.461, allocations: 0 / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.188e-06/1.461, allocations: 0 / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.351e-05/1.461, allocations: 0 / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.003585/1.464, allocations: 0.8785 MB / 0.988 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 9.906e-05/1.464, allocations: 8.031 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/1.464, allocations: 42.56 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/1.465, allocations: 47.52 kB / 0.9881 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/1.467, allocations: 0.5171 MB / 0.9886 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/1.467, allocations: 24 kB / 0.9886 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/1.467, allocations: 43.91 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/1.468, allocations: 197.5 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.468, allocations: 7.922 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/1.468, allocations: 4 kB / 0.9889 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/1.468, allocations: 4 kB / 0.9889 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/1.469, allocations: 179.9 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/1.475, allocations: 1.389 MB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/1.477, allocations: 0.5925 MB / 0.991 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/1.477, allocations: 3.938 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/1.477, allocations: 38.5 kB / 0.991 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 3.327e-06/1.477, allocations: 4 kB / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001884/1.479, allocations: 0.5482 MB / 0.9916 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.479, allocations: 55.41 kB / 0.9916 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/1.48, allocations: 401.3 kB / 0.992 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.48, allocations: 41.7 kB / 0.992 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/1.48, allocations: 165.2 kB / 0.9922 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/1.481, allocations: 94.64 kB / 0.9923 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/1.481, allocations: 15.94 kB / 0.9923 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000416/1.481, allocations: 354.8 kB / 0.9926 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008789/1.482, allocations: 321.1 kB / 0.993 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/1.483, allocations: 393.5 kB / 0.9933 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/1.484, allocations: 392.8 kB / 0.9937 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.484, allocations: 0 / 0.9937 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002543/1.487, allocations: 0.8896 MB / 0.9946 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.487, allocations: 41.7 kB / 0.9946 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.487, allocations: 0 / 0.9946 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/1.487, allocations: 28.84 kB / 0.9946 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.488, allocations: 151.8 kB / 0.9948 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/1.49, allocations: 1.335 MB / 0.9961 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.493, allocations: 111.4 kB / 0.9962 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/1.493, allocations: 23.98 kB / 0.9962 GB, free: 6.141 MB / 0.7481 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004233/1.493, allocations: 178.2 kB / 0.9964 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.493, allocations: 35.53 kB / 0.9964 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.493, allocations: 43.47 kB / 0.9965 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.493, allocations: 4 kB / 0.9965 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.493, allocations: 3.953 kB / 0.9965 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.493, allocations: 0 / 0.9965 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/1.494, allocations: 457 kB / 0.9969 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.494, allocations: 3.938 kB / 0.9969 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/1.495, allocations: 51.91 kB / 0.997 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/1.495, allocations: 24.84 kB / 0.997 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/1.495, allocations: 15.98 kB / 0.997 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/1.496, allocations: 1.323 MB / 0.9983 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.496, allocations: 3.953 kB / 0.9983 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.498, allocations: 0.6031 MB / 0.9989 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/1.498, allocations: 112.8 kB / 0.999 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/1.498, allocations: 12 kB / 0.999 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.499, allocations: 35.84 kB / 0.999 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/1.499, allocations: 8.172 kB / 0.999 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/1.499, allocations: 15.98 kB / 0.9991 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004409/1.5, allocations: 251.1 kB / 0.9993 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.5, allocations: 0 / 0.9993 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001211/1.501, allocations: 236 kB / 0.9995 GB, free: 2.52 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/1.503, allocations: 1.161 MB / 1.001 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001958/1.505, allocations: 0.7242 MB / 1.001 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.505, allocations: 0 / 1.001 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/1.505, allocations: 270.5 kB / 1.002 GB, free: 312 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/1.506, allocations: 81.5 kB / 1.002 GB, free: 232 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/1.51, allocations: 1.857 MB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/1.511, allocations: 0.8229 MB / 1.004 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005857/1.512, allocations: 115.2 kB / 1.004 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/1.512, allocations: 127.4 kB / 1.005 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of SimCode: time 1.243e-06/1.512, allocations: 0 / 1.005 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/1.555, allocations: 10.74 MB / 1.015 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004135/1.556, allocations: 253.1 kB / 1.015 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/4.941, allocations: 4 kB / 1.015 GB, free: 2.5 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat