Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_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.001241/0.001241, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001334/0.001334, allocations: 193.1 kB / 16.14 MB, free: 6.715 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.14 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.233, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002415/0.2355, allocations: 1.544 MB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2367, allocations: 0.9425 MB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.2368, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.237, allocations: 39.81 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.237, allocations: 15.86 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.2375, allocations: 166.7 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.2375, allocations: 47.73 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.2376, allocations: 4 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.2376, allocations: 15.92 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.2377, allocations: 19.88 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.2377, allocations: 4 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.2379, allocations: 151.8 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.238, allocations: 3.938 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.238, allocations: 19.88 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2382, allocations: 124 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2382, allocations: 0 / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2382, allocations: 0 / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2382, allocations: 0 / 1.055 GB, free: 5.047 MB / 0.8106 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.0003133/0.2385, allocations: 363.3 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2386, allocations: 16.03 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.2386, allocations: 106 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.2387, allocations: 80.12 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2388, allocations: 264.9 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.2389, allocations: 154.9 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.2389, allocations: 150.9 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.026e-05/0.239, allocations: 113 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.239, allocations: 75.28 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.2391, allocations: 150.6 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.2391, allocations: 154.5 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.2392, allocations: 150.6 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.2394, allocations: 465.9 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.2395, allocations: 181.1 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.2395, allocations: 80.14 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2395, allocations: 75.28 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2396, allocations: 117.8 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2396, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.857e-05/0.2396, allocations: 37.59 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2397, allocations: 126.7 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2398, allocations: 135 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2398, allocations: 25.7 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.2399, allocations: 96.05 kB / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.2399, allocations: 0 / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.2399, allocations: 17.7 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.24, allocations: 326.8 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.24, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.24, allocations: 4 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.2401, allocations: 16.84 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2401, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.2402, allocations: 45.64 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2402, allocations: 8 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.2402, allocations: 0 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2402, allocations: 0 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.2403, allocations: 8 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2403, allocations: 3.984 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.2403, allocations: 11.84 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2403, allocations: 0 / 1.059 GB, free: 1.32 MB / 0.8106 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 7.698e-05/0.2404, allocations: 181.1 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.2404, allocations: 108.9 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.2405, allocations: 112.9 kB / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.2405, allocations: 188.2 kB / 1.059 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/0.2406, allocations: 176.3 kB / 1.059 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/0.2406, allocations: 180.2 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.2408, allocations: 417.2 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.2409, allocations: 109 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.2409, allocations: 120.9 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.241, allocations: 176.3 kB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.241, allocations: 180.2 kB / 1.06 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.342e-05/0.2411, allocations: 176.3 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.2411, allocations: 188.2 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.2412, allocations: 311.7 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.2413, allocations: 193.9 kB / 1.061 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.2413, allocations: 180.3 kB / 1.061 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.2414, allocations: 108.9 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.2415, allocations: 176.3 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2415, allocations: 109 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.2416, allocations: 101 kB / 1.062 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2416, allocations: 0 / 1.062 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002563/0.2418, allocations: 28 kB / 1.062 GB, free: 13.65 MB / 0.8262 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.0004382/0.2423, allocations: 0.867 MB / 1.063 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.2424, allocations: 29.7 kB / 1.063 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2424, allocations: 0 / 1.063 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.2424, allocations: 4 kB / 1.063 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.2428, allocations: 0.5362 MB / 1.063 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.2438, allocations: 1.468 MB / 1.065 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.244, allocations: 0.6809 MB / 1.065 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.244, allocations: 8.016 kB / 1.065 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.244, allocations: 15.44 kB / 1.066 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.244, allocations: 4.031 kB / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/0.3991, allocations: 2.567 MB / 1.068 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.3993, allocations: 247.5 kB / 1.068 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.03, allocations: 0 / 1.068 GB, free: 7.254 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches