Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.006562/0.006562, allocations: 97.19 kB / 15.73 MB, free: 6.047 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.001916/0.001916, allocations: 196.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002386, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.304, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00298/0.3071, allocations: 1.477 MB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3085, allocations: 0.9112 MB / 1.169 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.3086, allocations: 7.938 kB / 1.169 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3089, allocations: 39.81 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.309, allocations: 23.8 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.3096, allocations: 195.1 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3097, allocations: 43.73 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.3097, allocations: 7.984 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.3098, allocations: 19.88 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.369e-05/0.3099, allocations: 15.92 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3099, allocations: 0 / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.3103, allocations: 175.7 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3103, allocations: 7.922 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3103, allocations: 19.88 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3106, allocations: 123.8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3106, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3106, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3106, allocations: 4 kB / 1.169 GB, free: 4.281 MB / 0.92 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.0004035/0.311, allocations: 371 kB / 1.17 GB, free: 3.871 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.311, allocations: 8.031 kB / 1.17 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.3111, allocations: 106 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.3112, allocations: 84.17 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3115, allocations: 271.5 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.3116, allocations: 154.9 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.3116, allocations: 150.9 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.71e-05/0.3117, allocations: 109 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.3118, allocations: 79.28 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.3119, allocations: 150.6 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.107e-05/0.3119, allocations: 150.6 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.312, allocations: 154.6 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.3124, allocations: 461.9 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.3125, allocations: 173.1 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.3125, allocations: 80.14 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.3125, allocations: 79.28 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.3126, allocations: 117.8 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3126, allocations: 0 / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.667e-05/0.3127, allocations: 29.66 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.3128, allocations: 130.6 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3129, allocations: 139.8 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3129, allocations: 29.64 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.313, allocations: 96.09 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.313, allocations: 0 / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3131, allocations: 17.72 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3132, allocations: 318.8 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.3132, allocations: 4 kB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.3132, allocations: 4 kB / 1.173 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.3133, allocations: 12.86 kB / 1.173 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3133, allocations: 0 / 1.173 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001506/0.3134, allocations: 57.59 kB / 1.173 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3135, allocations: 4 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3135, allocations: 4 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3135, allocations: 0 / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.3135, allocations: 0 / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3135, allocations: 0 / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.3135, allocations: 7.891 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.3135, allocations: 48 / 1.173 GB, free: 0.5586 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.3137, allocations: 189.1 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.3137, allocations: 116.9 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-05/0.3138, allocations: 116.8 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.014e-05/0.3139, allocations: 184.3 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001311/0.3141, allocations: 180.2 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.3141, allocations: 180.2 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3144, allocations: 417.2 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/0.3145, allocations: 108.9 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.3145, allocations: 101 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.3147, allocations: 180.2 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3148, allocations: 184.2 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.871e-05/0.3149, allocations: 176.3 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001182/0.315, allocations: 184.2 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.3152, allocations: 307.8 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.3153, allocations: 193.9 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.3154, allocations: 180.3 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.3155, allocations: 112.9 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.3156, allocations: 180.2 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.3156, allocations: 105 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.212e-05/0.3157, allocations: 105.4 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3157, allocations: 4 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002954/0.316, allocations: 31.88 kB / 1.176 GB, free: 12.87 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006111/0.3166, allocations: 0.8515 MB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.3167, allocations: 37.64 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3167, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-06/0.3168, allocations: 3.938 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.3172, allocations: 475.7 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3187, allocations: 1.46 MB / 1.179 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.319, allocations: 0.6846 MB / 1.179 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.3191, allocations: 4 kB / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3191, allocations: 11.44 kB / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3191, allocations: 4.031 kB / 1.179 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.887/3.206, allocations: 2.716 MB / 1.182 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.482/12.69, allocations: 10.75 kB / 1.182 GB, free: 6.645 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches