Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",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.001485/0.001485, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001514/0.001514, allocations: 189.6 kB / 16.25 MB, free: 6.152 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.595/2.595, allocations: 482.4 MB / 0.7544 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 69.28 kB / 0.9235 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2517, allocations: 162.2 MB / 1.082 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001556/0.2533, allocations: 0.6065 MB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2544, allocations: 1.03 MB / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.268e-05/0.2544, allocations: 0 / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.2545, allocations: 0 / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.2551, allocations: 119.8 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.256e-05/0.2552, allocations: 15.94 kB / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.245e-05/0.2552, allocations: 8 kB / 1.084 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.2553, allocations: 0 / 1.084 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.2553, allocations: 7.984 kB / 1.084 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2555, allocations: 59.81 kB / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.2555, allocations: 0 / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2557, allocations: 107.8 kB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.2557, allocations: 7.984 kB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.2557, allocations: 0 / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2559, allocations: 99.81 kB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2559, allocations: 0 / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2559, allocations: 8 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.2559, allocations: 0 / 1.084 GB, free: 11.4 MB / 0.8419 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.0003093/0.2562, allocations: 347.7 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.2562, allocations: 8.031 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.2563, allocations: 30.75 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.74e-05/0.2563, allocations: 0.9375 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2564, allocations: 168.4 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2564, allocations: 384 / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-06/0.2564, allocations: 384 / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.918e-05/0.2565, allocations: 41.58 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.2565, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.2565, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2565, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.2566, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.2569, allocations: 468.5 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.257, allocations: 181.1 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.2571, allocations: 84.08 kB / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.2571, allocations: 79.27 kB / 1.085 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.2571, allocations: 105.8 kB / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2572, allocations: 0 / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 5.941e-05/0.2572, allocations: 29.7 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.2573, allocations: 130.7 kB / 1.086 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.2574, allocations: 101.8 kB / 1.086 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2574, allocations: 25.7 kB / 1.086 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.2574, allocations: 80.14 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.2574, allocations: 7.938 kB / 1.086 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.2575, allocations: 9.719 kB / 1.086 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2576, allocations: 322.8 kB / 1.086 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.2576, allocations: 7.938 kB / 1.086 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.2576, allocations: 4 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.2576, allocations: 4.859 kB / 1.086 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2577, allocations: 0 / 1.086 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.17e-05/0.2577, allocations: 37.61 kB / 1.086 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.2578, allocations: 4 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2578, allocations: 0 / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.2578, allocations: 0 / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.2578, allocations: 4 kB / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.2578, allocations: 96 / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.2578, allocations: 7.984 kB / 1.086 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.2578, allocations: 0 / 1.086 GB, free: 8.902 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 8.885e-05/0.2579, allocations: 193 kB / 1.086 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.258, allocations: 105 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.258, allocations: 107.9 kB / 1.086 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.999e-05/0.2581, allocations: 184.3 kB / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.929e-05/0.2582, allocations: 188.2 kB / 1.087 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.864e-05/0.2583, allocations: 180.2 kB / 1.087 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.2585, allocations: 405.2 kB / 1.087 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/0.2585, allocations: 109 kB / 1.088 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.2586, allocations: 104.9 kB / 1.088 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.685e-05/0.2587, allocations: 180.3 kB / 1.088 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.2587, allocations: 184.2 kB / 1.088 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.912e-05/0.2588, allocations: 184.3 kB / 1.088 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-05/0.2589, allocations: 180.2 kB / 1.088 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.259, allocations: 311.7 kB / 1.089 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.2591, allocations: 182 kB / 1.089 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.2592, allocations: 180.2 kB / 1.089 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.2593, allocations: 105 kB / 1.089 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.2594, allocations: 184.1 kB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.2594, allocations: 101 kB / 1.089 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.2594, allocations: 87.28 kB / 1.089 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.894e-06/0.2595, allocations: 0 / 1.089 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00024/0.2597, allocations: 31.92 kB / 1.089 GB, free: 5.27 MB / 0.8419 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.0005884/0.2603, allocations: 0.8725 MB / 1.09 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.549e-05/0.2603, allocations: 0 / 1.09 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2604, allocations: 4 kB / 1.09 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.2604, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2607, allocations: 455.7 kB / 1.091 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.2612, allocations: 265.9 kB / 1.091 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2614, allocations: 0.6766 MB / 1.092 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.2615, allocations: 7.984 kB / 1.092 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2615, allocations: 15.44 kB / 1.092 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.2615, allocations: 0 / 1.092 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4581/0.7196, allocations: 1.578 MB / 1.093 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/0.72, allocations: 292.8 kB / 1.093 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.554, allocations: 4.406 kB / 1.093 GB, free: 1.152 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches