Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",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.0008946/0.0008947, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005203/0.005203, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.483/2.483, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 9.125 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.255, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007281/0.2558, allocations: 294.9 kB / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002505/0.2561, allocations: 115.7 kB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.2561, allocations: 0 / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.055e-05/0.2562, allocations: 4 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.2562, allocations: 0 / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.2564, allocations: 43.91 kB / 1.059 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.2564, allocations: 27.91 kB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.2565, allocations: 0 / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.2565, allocations: 11.98 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.2566, allocations: 15.98 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2566, allocations: 0 / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.2566, allocations: 8 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.2566, allocations: 3.984 kB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.2567, allocations: 41.64 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.2568, allocations: 31.95 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2568, allocations: 0 / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2568, allocations: 0 / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2568, allocations: 0 / 1.059 GB, free: 4.254 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002713/0.2571, allocations: 341.3 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2571, allocations: 15.97 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.2572, allocations: 30.75 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.2572, allocations: 4.938 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2573, allocations: 168.4 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2573, allocations: 8.312 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2574, allocations: 8.375 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2575, allocations: 54.17 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2575, allocations: 3.938 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2575, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2575, allocations: 4 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.2576, allocations: 11.98 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.2577, allocations: 153.6 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.2577, allocations: 34.61 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.2578, allocations: 16.91 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.2578, allocations: 0 / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2578, allocations: 34.56 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.2578, allocations: 3.938 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002062/0.258, allocations: 107.3 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2581, allocations: 85.22 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.2581, allocations: 97.86 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2582, allocations: 25.7 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.2582, allocations: 80.14 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2582, allocations: 7.906 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.2583, allocations: 9.719 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.2584, allocations: 314.8 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.2584, allocations: 11.98 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.2584, allocations: 16.11 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.2585, allocations: 84.2 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2585, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001207/0.2586, allocations: 95.38 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2587, allocations: 33.64 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2587, allocations: 4 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2587, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2587, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2587, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2588, allocations: 12.36 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2589, allocations: 8 kB / 1.061 GB, free: 2.129 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: 1 * 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 prepare postOptimizeDAE: time 8.311e-05/0.2589, allocations: 139.5 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.259, allocations: 7.938 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.028e-05/0.259, allocations: 7.109 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.259, allocations: 3.938 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.259, allocations: 4 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.259, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.471e-05/0.2591, allocations: 149.7 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2591, allocations: 4 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.2591, allocations: 3.938 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2591, allocations: 3.938 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2591, allocations: 8 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2591, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2591, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2593, allocations: 118.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2593, allocations: 93.11 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2593, allocations: 3.938 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2595, allocations: 7.938 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.2595, allocations: 4 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2595, allocations: 7.984 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.2595, allocations: 75.28 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2595, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001907/0.2597, allocations: 20 kB / 1.062 GB, free: 1.375 MB / 0.8106 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004626/0.2602, allocations: 0.6822 MB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2603, allocations: 83.41 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2603, allocations: 4.062 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.2604, allocations: 71.39 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2605, allocations: 4 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.2609, allocations: 144.2 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2611, allocations: 0.6731 MB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.714e-05/0.2612, allocations: 4 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.2612, allocations: 11.42 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2612, allocations: 4.062 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.844/1.105, allocations: 1.635 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/1.105, allocations: 239.5 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.915, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches