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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.553/2.553, allocations: 496.2 MB / 0.7819 GB, free: 12.35 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 67.88 kB / 1.135 GB, free: 13.05 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7732, allocations: 173.6 MB / 1.305 GB, free: 33.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001367/0.7746, allocations: 0.5544 MB / 1.305 GB, free: 32.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.7754, allocations: 1.05 MB / 1.306 GB, free: 32.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.629e-05/0.7754, allocations: 0 / 1.306 GB, free: 32.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.7754, allocations: 0 / 1.306 GB, free: 32.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006523/0.7761, allocations: 124.4 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.802e-05/0.7761, allocations: 13.12 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.76e-05/0.7762, allocations: 2.719 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.7762, allocations: 6.25 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.7762, allocations: 3.984 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.7764, allocations: 47.25 kB / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.7764, allocations: 0 / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.7766, allocations: 118.2 kB / 1.307 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.7766, allocations: 0 / 1.307 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.7766, allocations: 6.828 kB / 1.307 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.7767, allocations: 97.94 kB / 1.307 GB, free: 31.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7767, allocations: 0 / 1.307 GB, free: 31.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7767, allocations: 0 / 1.307 GB, free: 31.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7767, allocations: 0 / 1.307 GB, free: 31.9 MB / 1.061 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.0002367/0.777, allocations: 347.9 kB / 1.307 GB, free: 31.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.777, allocations: 12.44 kB / 1.307 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.901e-05/0.777, allocations: 30.75 kB / 1.307 GB, free: 31.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.045e-05/0.777, allocations: 4.938 kB / 1.307 GB, free: 31.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.7771, allocations: 165.8 kB / 1.307 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.7771, allocations: 384 / 1.307 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.7772, allocations: 384 / 1.307 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.013e-05/0.7772, allocations: 39.72 kB / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.7772, allocations: 0 / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.7772, allocations: 4 kB / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7772, allocations: 3.984 kB / 1.307 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.7773, allocations: 6.5 kB / 1.307 GB, free: 31.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.7775, allocations: 467.4 kB / 1.308 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.604e-05/0.7775, allocations: 165.1 kB / 1.308 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.7776, allocations: 84.08 kB / 1.308 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.7776, allocations: 79.28 kB / 1.308 GB, free: 30.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.7776, allocations: 109.2 kB / 1.308 GB, free: 30.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7776, allocations: 0 / 1.308 GB, free: 30.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.509e-05/0.7776, allocations: 25.7 kB / 1.308 GB, free: 30.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.7777, allocations: 130.7 kB / 1.308 GB, free: 30.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.7777, allocations: 98.7 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-06/0.7777, allocations: 28.27 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.7777, allocations: 92.09 kB / 1.309 GB, free: 29.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.7777, allocations: 3.938 kB / 1.309 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.7778, allocations: 12.44 kB / 1.309 GB, free: 29.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.7778, allocations: 322.1 kB / 1.309 GB, free: 29.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.7778, allocations: 6.75 kB / 1.309 GB, free: 29.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.7778, allocations: 0 / 1.309 GB, free: 29.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.693e-05/0.7778, allocations: 7.734 kB / 1.309 GB, free: 29.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7778, allocations: 4.062 kB / 1.309 GB, free: 29.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.335e-05/0.7779, allocations: 34.89 kB / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.7779, allocations: 5.344 kB / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.7779, allocations: 3.188 kB / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.7779, allocations: 0 / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.257e-05/0.7779, allocations: 2.562 kB / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.7779, allocations: 0 / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.778, allocations: 0 / 1.309 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.778, allocations: 0 / 1.309 GB, free: 29.5 MB / 1.061 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 3.784e-05/0.778, allocations: 195.6 kB / 1.309 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.778, allocations: 101 kB / 1.309 GB, free: 29.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.7781, allocations: 110.6 kB / 1.309 GB, free: 29.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.7781, allocations: 180.2 kB / 1.31 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.7781, allocations: 180.3 kB / 1.31 GB, free: 28.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.7781, allocations: 182.8 kB / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.7782, allocations: 408.3 kB / 1.31 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7782, allocations: 105 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.7782, allocations: 112.2 kB / 1.311 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.7783, allocations: 179.5 kB / 1.311 GB, free: 27.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.7783, allocations: 180.2 kB / 1.311 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-05/0.7783, allocations: 180.3 kB / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/0.7783, allocations: 182.8 kB / 1.311 GB, free: 27.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.301e-05/0.7784, allocations: 309.7 kB / 1.312 GB, free: 26.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.7784, allocations: 182.1 kB / 1.312 GB, free: 26.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.7784, allocations: 186 kB / 1.312 GB, free: 26.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.7785, allocations: 105 kB / 1.312 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.7785, allocations: 186.7 kB / 1.312 GB, free: 26.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.7785, allocations: 101 kB / 1.312 GB, free: 26.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.7785, allocations: 83.69 kB / 1.312 GB, free: 25.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.7785, allocations: 0 / 1.312 GB, free: 25.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000228/0.7788, allocations: 26.81 kB / 1.312 GB, free: 25.94 MB / 1.061 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.0003736/0.7791, allocations: 0.8845 MB / 1.313 GB, free: 25.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.39e-05/0.7792, allocations: 6.656 kB / 1.313 GB, free: 25.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7792, allocations: 4.062 kB / 1.313 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.7792, allocations: 2.625 kB / 1.313 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.7794, allocations: 459.6 kB / 1.314 GB, free: 24.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.7798, allocations: 263.8 kB / 1.314 GB, free: 24.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.778e-05/0.7799, allocations: 0.6719 MB / 1.315 GB, free: 23.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.7799, allocations: 2.844 kB / 1.315 GB, free: 23.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.7799, allocations: 13.62 kB / 1.315 GB, free: 23.68 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/0.7799, allocations: 0 / 1.315 GB, free: 23.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.8026, allocations: 1.632 MB / 1.316 GB, free: 23.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.931, allocations: 6.922 kB / 1.316 GB, free: 23.26 MB / 1.061 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.342596636997769]