Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.0009842/0.0009841, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001304/0.001304, allocations: 172.7 kB / 15.95 MB, free: 208 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.411/1.411, 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.528/2.528, allocations: 409.4 MB / 0.684 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9055, allocations: 146.8 MB / 0.9812 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001533/0.9071, allocations: 1.139 MB / 0.9823 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003683/0.9108, allocations: 2.61 MB / 0.9849 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.9109, allocations: 0 / 0.9849 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.9109, allocations: 7.922 kB / 0.9849 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.911, allocations: 11.92 kB / 0.9849 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.914, allocations: 1.246 MB / 0.9861 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.914, allocations: 39.73 kB / 0.9861 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.9141, allocations: 0 / 0.9861 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.9141, allocations: 15.92 kB / 0.9861 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.937e-05/0.9141, allocations: 19.86 kB / 0.9862 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.9142, allocations: 0 / 0.9862 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.9158, allocations: 1.209 MB / 0.9873 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.9158, allocations: 7.938 kB / 0.9874 GB, free: 8 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.9158, allocations: 29.7 kB / 0.9874 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007936/0.9167, allocations: 0.6923 MB / 0.9881 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9167, allocations: 0 / 0.9881 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9167, allocations: 0 / 0.9881 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.9167, allocations: 0 / 0.9881 GB, free: 15.28 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005096/0.9172, allocations: 0.5144 MB / 0.9886 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9172, allocations: 12.03 kB / 0.9886 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.9173, allocations: 105.8 kB / 0.9887 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.9174, allocations: 75.28 kB / 0.9887 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.9175, allocations: 246.3 kB / 0.989 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.9176, allocations: 154.6 kB / 0.9891 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.9176, allocations: 150.6 kB / 0.9893 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.6e-05/0.9177, allocations: 108.9 kB / 0.9894 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.9177, allocations: 79.22 kB / 0.9894 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.9178, allocations: 154.5 kB / 0.9896 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.9178, allocations: 154.6 kB / 0.9897 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.9179, allocations: 150.6 kB / 0.9899 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.9181, allocations: 465.9 kB / 0.9903 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.9182, allocations: 169.1 kB / 0.9905 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.9182, allocations: 88.08 kB / 0.9906 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.9183, allocations: 75.28 kB / 0.9906 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.9183, allocations: 109.8 kB / 0.9908 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9183, allocations: 0 / 0.9908 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 6.819e-05/0.9184, allocations: 37.61 kB / 0.9908 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.9184, allocations: 126.7 kB / 0.9909 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.9186, allocations: 131 kB / 0.991 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.9186, allocations: 29.64 kB / 0.9911 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.9187, allocations: 96.12 kB / 0.9912 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.9187, allocations: 0 / 0.9912 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.9187, allocations: 0 / 0.9912 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.9188, allocations: 314.8 kB / 0.9915 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.9188, allocations: 11.94 kB / 0.9915 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.9188, allocations: 4 kB / 0.9915 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.9188, allocations: 7.984 kB / 0.9915 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9189, allocations: 4.031 kB / 0.9915 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.919, allocations: 45.66 kB / 0.9915 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.919, allocations: 4 kB / 0.9915 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.919, allocations: 11.94 kB / 0.9915 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.919, allocations: 0 / 0.9915 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.919, allocations: 0 / 0.9915 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.9191, allocations: 0 / 0.9915 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.9191, allocations: 3.984 kB / 0.9915 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.9191, allocations: 4 kB / 0.9915 GB, free: 11.46 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 (1): * Single equations (assignments): 0 * Array equations: 0 * 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 9.5e-05/0.9192, allocations: 185.2 kB / 0.9917 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.9193, allocations: 120.9 kB / 0.9918 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.9193, allocations: 104.9 kB / 0.9919 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/0.9194, allocations: 192.1 kB / 0.9921 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-05/0.9194, allocations: 176.3 kB / 0.9923 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.262e-05/0.9195, allocations: 176.3 kB / 0.9925 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.9197, allocations: 425.2 kB / 0.9929 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/0.9198, allocations: 101 kB / 0.993 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.9198, allocations: 108.9 kB / 0.9931 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.897e-05/0.9199, allocations: 180.3 kB / 0.9932 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.9199, allocations: 176.3 kB / 0.9934 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.273e-05/0.92, allocations: 188.2 kB / 0.9936 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-05/0.92, allocations: 180.2 kB / 0.9938 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.9201, allocations: 311.7 kB / 0.9941 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.9202, allocations: 182.1 kB / 0.9942 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.9203, allocations: 180.2 kB / 0.9944 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.9204, allocations: 113 kB / 0.9945 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.9205, allocations: 188.1 kB / 0.9947 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.9205, allocations: 101 kB / 0.9948 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.9206, allocations: 96.98 kB / 0.9949 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9206, allocations: 0 / 0.9949 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000739/0.9213, allocations: 279.7 kB / 0.9951 GB, free: 7.562 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.001146/0.9225, allocations: 1.137 MB / 0.9962 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.9226, allocations: 37.7 kB / 0.9963 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9226, allocations: 0 / 0.9963 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-06/0.9226, allocations: 4 kB / 0.9963 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.923, allocations: 0.5303 MB / 0.9968 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.9239, allocations: 0.6766 MB / 0.9975 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.9241, allocations: 0.6848 MB / 0.9981 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.9241, allocations: 0 / 0.9981 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.9242, allocations: 19.44 kB / 0.9982 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.9242, allocations: 3.938 kB / 0.9982 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.943, allocations: 6.636 MB / 1.005 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.9433, allocations: 274.7 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/3.051, allocations: 3.938 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat