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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001468/0.001468, allocations: 100.2 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.00185/0.00185, 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.467/2.467, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.791/4.791, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007671/0.0007673, allocations: 15.98 kB / 0.8376 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6/1.601, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003029/1.604, allocations: 1.112 MB / 0.982 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007884/1.612, allocations: 2.556 MB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/1.612, allocations: 0 / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/1.612, allocations: 7.922 kB / 0.9845 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/1.612, allocations: 11.97 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007223/1.619, allocations: 1.214 MB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/1.62, allocations: 27.95 kB / 0.9857 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.62, allocations: 7.922 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5e-05/1.62, allocations: 8 kB / 0.9858 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/1.62, allocations: 19.88 kB / 0.9858 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/1.62, allocations: 0 / 0.9858 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/1.624, allocations: 1.155 MB / 0.9869 GB, free: 164 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/1.624, allocations: 15.94 kB / 0.9869 GB, free: 148 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/1.625, allocations: 29.7 kB / 0.9869 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/1.627, allocations: 0.7002 MB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.627, allocations: 3.938 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 8.105e-06/1.627, allocations: 0 / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.627, allocations: 3.938 kB / 0.9876 GB, free: 15.4 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.001208/1.629, allocations: 0.5027 MB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.143e-05/1.629, allocations: 12.03 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.096e-05/1.629, allocations: 105.8 kB / 0.9882 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/1.629, allocations: 83.28 kB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/1.629, allocations: 252 kB / 0.9886 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/1.629, allocations: 154.5 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.629, allocations: 158.6 kB / 0.9889 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/1.629, allocations: 104.9 kB / 0.989 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/1.63, allocations: 75.28 kB / 0.989 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/1.63, allocations: 154.6 kB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/1.63, allocations: 158.4 kB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/1.63, allocations: 150.6 kB / 0.9895 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/1.631, allocations: 465.9 kB / 0.9899 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/1.631, allocations: 173.1 kB / 0.9901 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/1.631, allocations: 79.28 kB / 0.9902 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.847e-05/1.631, allocations: 109.8 kB / 0.9903 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/1.631, allocations: 0 / 0.9903 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001923/1.631, allocations: 41.56 kB / 0.9903 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.632, allocations: 130.7 kB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/1.632, allocations: 135.4 kB / 0.9906 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.632, allocations: 25.7 kB / 0.9906 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/1.632, allocations: 84.14 kB / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/1.632, allocations: 0 / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.632, allocations: 0 / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.632, allocations: 322.8 kB / 0.991 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/1.632, allocations: 4 kB / 0.991 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/1.632, allocations: 0 / 0.991 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/1.632, allocations: 8 kB / 0.991 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.632, allocations: 4.031 kB / 0.991 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002057/1.633, allocations: 53.53 kB / 0.991 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/1.633, allocations: 4 kB / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/1.633, allocations: 4 kB / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.633, allocations: 3.953 kB / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/1.633, allocations: 0 / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.633, allocations: 3.984 kB / 0.991 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/1.633, allocations: 4 kB / 0.991 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.633, allocations: 4 kB / 0.9911 GB, free: 11.66 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 0.0002104/1.633, allocations: 185.2 kB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/1.633, allocations: 112.8 kB / 0.9913 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/1.633, allocations: 112.8 kB / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/1.634, allocations: 180.2 kB / 0.9916 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001374/1.634, allocations: 188.2 kB / 0.9918 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000119/1.634, allocations: 176.3 kB / 0.992 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/1.634, allocations: 421.1 kB / 0.9924 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.713e-05/1.634, allocations: 101 kB / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/1.634, allocations: 101 kB / 0.9926 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/1.635, allocations: 188.1 kB / 0.9927 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.635, allocations: 180.3 kB / 0.9929 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001244/1.635, allocations: 184.2 kB / 0.9931 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001234/1.635, allocations: 184.2 kB / 0.9933 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/1.635, allocations: 307.7 kB / 0.9936 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.635, allocations: 186.1 kB / 0.9937 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.636, allocations: 184.2 kB / 0.9939 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/1.636, allocations: 105 kB / 0.994 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.636, allocations: 180.3 kB / 0.9942 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/1.636, allocations: 112.9 kB / 0.9943 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.672e-05/1.636, allocations: 96.2 kB / 0.9944 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.636, allocations: 0 / 0.9944 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001548/1.638, allocations: 275.8 kB / 0.9946 GB, free: 7.766 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.003127/1.641, allocations: 1.138 MB / 0.9958 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002027/1.641, allocations: 45.62 kB / 0.9958 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.641, allocations: 0 / 0.9958 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-06/1.641, allocations: 4 kB / 0.9958 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/1.642, allocations: 0.5225 MB / 0.9963 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/1.644, allocations: 0.5598 MB / 0.9969 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/1.645, allocations: 0.6848 MB / 0.9975 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.056e-05/1.645, allocations: 0 / 0.9975 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/1.645, allocations: 11.44 kB / 0.9975 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/1.645, allocations: 4 kB / 0.9975 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/1.686, allocations: 6.581 MB / 1.004 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005798/1.687, allocations: 279.1 kB / 1.004 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.639/5.326, allocations: 0 / 1.004 GB, free: 13.99 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative_res.mat does not exist to compare? outputFormat=mat