Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_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.00607/0.00607, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001639/0.00164, allocations: 194.7 kB / 16.67 MB, free: 6.348 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.514/2.514, allocations: 437.1 MB / 0.7106 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 71.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2672, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00163/0.2688, allocations: 0.5576 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.2691, allocations: 108 kB / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.2691, allocations: 0 / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.164e-05/0.2692, allocations: 4 kB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.2692, allocations: 0 / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2694, allocations: 39.89 kB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.2695, allocations: 31.97 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.2695, allocations: 4 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.2695, allocations: 15.94 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.2696, allocations: 15.98 kB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2696, allocations: 0 / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.2697, allocations: 15.97 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.2697, allocations: 0 / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.2697, allocations: 8 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.971e-05/0.2698, allocations: 31.89 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2698, allocations: 0 / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2698, allocations: 0 / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2698, allocations: 4 kB / 1.167 GB, free: 6.488 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003379/0.2702, allocations: 361.4 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2702, allocations: 8.031 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.2702, allocations: 38.69 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2703, allocations: 4.938 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2704, allocations: 168.4 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2704, allocations: 384 / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2704, allocations: 4.375 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2706, allocations: 58.23 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2706, allocations: 3.938 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2706, allocations: 0 / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2706, allocations: 0 / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.697e-05/0.2706, allocations: 11.98 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.2708, allocations: 157.6 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.895e-05/0.2708, allocations: 34.53 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.2709, allocations: 12.92 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.2709, allocations: 8 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2709, allocations: 30.56 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2709, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002192/0.2712, allocations: 107.3 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.2712, allocations: 89.03 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.2713, allocations: 93.86 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2713, allocations: 25.7 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.2714, allocations: 92.33 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2714, allocations: 7.953 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.2714, allocations: 21.7 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2716, allocations: 314.8 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.2716, allocations: 8 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.2716, allocations: 15.98 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.2717, allocations: 76.25 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2717, allocations: 4.062 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001368/0.2719, allocations: 95.33 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.2719, allocations: 47.19 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2719, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.2719, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.2719, allocations: 4 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2719, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2721, allocations: 4 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2721, allocations: 4 kB / 1.169 GB, free: 4.34 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: 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 9.926e-05/0.2722, allocations: 149.8 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.2722, allocations: 3.938 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-06/0.2722, allocations: 7.125 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2722, allocations: 3.984 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2722, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2722, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2724, allocations: 157.7 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2724, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2724, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2724, allocations: 3.938 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2724, allocations: 8 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2724, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2724, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.2726, allocations: 126.8 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2726, allocations: 77.11 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2726, allocations: 7.938 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.2727, allocations: 11.92 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.2728, allocations: 4.031 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2728, allocations: 8 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.2728, allocations: 75.28 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2728, allocations: 3.938 kB / 1.169 GB, free: 3.598 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001806/0.273, allocations: 12 kB / 1.169 GB, free: 3.586 MB / 0.92 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.0005413/0.2735, allocations: 0.6901 MB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.2737, allocations: 83.33 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.2737, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.2738, allocations: 75.39 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.2739, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.2743, allocations: 138.7 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.2745, allocations: 0.6729 MB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.739e-05/0.2746, allocations: 3.984 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.2746, allocations: 11.44 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.2746, allocations: 0 / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.113/2.388, allocations: 1.875 MB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/17.21, allocations: 15.44 kB / 1.173 GB, free: 44 kB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches