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.0009745/0.0009745, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007395/0.007395, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.423/2.423, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 12.34 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2431, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001486/0.2446, allocations: 1.205 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2459, allocations: 0.9231 MB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.246, allocations: 0 / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2462, allocations: 35.83 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.2462, allocations: 19.84 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2467, allocations: 169.7 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.2468, allocations: 51.67 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.2468, allocations: 4 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.2469, allocations: 15.92 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.2469, allocations: 19.88 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.2469, allocations: 0 / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.2472, allocations: 147.8 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.2472, allocations: 4 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.2473, allocations: 49.56 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2475, allocations: 123.9 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2475, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2475, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2475, allocations: 0 / 1.061 GB, free: 2.094 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.0003135/0.2478, allocations: 367.3 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2478, allocations: 15.97 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.2479, allocations: 106 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.248, allocations: 80.22 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2481, allocations: 265 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.2482, allocations: 150.9 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.2482, allocations: 154.9 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.931e-05/0.2483, allocations: 109 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2483, allocations: 75.28 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.2484, allocations: 154.6 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.2484, allocations: 154.5 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.2485, allocations: 150.6 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.2488, allocations: 457.9 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.206e-05/0.2488, allocations: 177.1 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.2489, allocations: 84.12 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2489, allocations: 79.28 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.249, allocations: 113.8 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.249, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.755e-05/0.249, allocations: 33.61 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.2491, allocations: 134.6 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2492, allocations: 135.8 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2492, allocations: 25.7 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.2493, allocations: 96.12 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2493, allocations: 0 / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.2493, allocations: 9.719 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2494, allocations: 318.8 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.2495, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.2495, allocations: 7.984 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.124e-05/0.2495, allocations: 16.89 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2495, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.2496, allocations: 57.58 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2497, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.2497, allocations: 7.922 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2497, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.2497, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2497, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.2497, allocations: 3.938 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.2498, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 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 8.713e-05/0.2498, allocations: 189.2 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.2499, allocations: 108.8 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.25, allocations: 120.8 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/0.25, allocations: 176.3 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-05/0.2501, allocations: 176.3 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.2501, allocations: 192.1 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.2504, allocations: 413.2 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/0.2504, allocations: 112.9 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.2504, allocations: 105.1 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.704e-05/0.2505, allocations: 176.3 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.2506, allocations: 188.2 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-05/0.2506, allocations: 180.3 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.553e-05/0.2507, allocations: 184.2 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.2508, allocations: 307.7 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.2509, allocations: 190 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.2509, allocations: 184.2 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.251, allocations: 108.9 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.2511, allocations: 176.3 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.2511, allocations: 108.9 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.2512, allocations: 95.27 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2512, allocations: 3.938 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002563/0.2515, allocations: 31.98 kB / 1.068 GB, free: 10.7 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.0004719/0.2519, allocations: 0.861 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.252, allocations: 33.7 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.252, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.252, allocations: 12 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2525, allocations: 0.5287 MB / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2536, allocations: 1.477 MB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2538, allocations: 0.6809 MB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.2538, allocations: 0 / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.2538, allocations: 23.42 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2538, allocations: 0 / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.949/2.203, allocations: 2.504 MB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003472/2.204, allocations: 255.1 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/3.978, allocations: 4 kB / 1.074 GB, free: 4.379 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